import * as React from 'react';
import './style/tag.css';
export declare type ColorType = 'blue-900' | 'green-900' | 'plain-blue-900' | 'orange-900' | 'blue-700' | 'green-700' | 'plain-blue-700' | 'orange-700' | 'red-900' | 'yellow-900' | 'magenta-900' | 'purple-900' | 'red-700' | 'yellow-700' | 'magenta-700' | 'purple-700' | 'grey-blue-500' | 'grey-blue-400';
export interface TextAlertProps {
    /** 类型 */
    type?: 'new';
    /** 大小 */
    size?: 'compact';
    /** 颜色 */
    color?: ColorType;
    /** 失效状态 */
    disabled?: boolean;
    /** 关闭功能 */
    closable?: boolean;
    /** 标签文案 */
    tag: string;
    /** 类名 */
    className?: string;
    /** tag 图标 */
    icon?: string;
    /** 点击tag回调 */
    onClickTag?: (e: React.MouseEvent, tag: string) => void;
    /** 点击关闭回调 */
    onClickClose?: (e: React.MouseEvent, tag: string) => void;
}
export declare const prefixCls = "dmc-tag";
declare const Tag: React.ForwardRefExoticComponent<TextAlertProps & React.RefAttributes<HTMLDivElement>>;
export default Tag;
declare const TagMemo: React.MemoExoticComponent<React.ForwardRefExoticComponent<TextAlertProps & React.RefAttributes<HTMLDivElement>>>;
export { TagMemo };
