import { BrTag } from './components';
import { CSSProperties } from 'react';
import { TooltipPlacement } from 'bonree-design/lib/tooltip';
export interface TagItem {
    tagName?: string;
    authType?: number;
    tagId?: number;
}
export interface BrTableTagsProps {
    /** @description 标签数据 @default [] */
    data: TagItem[];
    /** @description 至少展示几个标签 @default 1 */
    minCount?: number;
    /** @description 最大展示几个标签，多余隐藏 @default 5 */
    maxCount?: number;
    /** @deprecated 已废弃。当前行index @default undefined */
    index?: number;
    /** @deprecated  已废弃。当前列dataIndex @default 'tags' */
    dataIndex?: string;
    /** @deprecated  已废弃。总列数的dataIndex，用于判断当前列是否在最后一列 @default undefined */
    columnsIndex?: string[];
    /** @description className @default [] */
    className?: string;
    /** @description 表格id @default undefined */
    tableId: string;
    /** @description 单元格className @default tableTagCol */
    columnClassnName?: string;
    /** @description 标签tooltip位置 @default topRight */
    placement?: TooltipPlacement;
    /** @description 标签tooltip挂载节点*/
    getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
    /** @description 标签tooltip浮层类名*/
    overlayClassName?: string;
    /** @description 填充宽度，用于自定义标签项时给canvas计算标签项的宽度*/
    tagFillWidth?: (index: number) => number | undefined;
    /** @description 标签项的图标 */
    customIcon?: (index: number) => React.ReactNode;
    /** @description 标签项的样式 */
    customStyle?: (index: number) => CSSProperties | undefined;
}
interface BrTableTagsInterface extends React.FC<BrTableTagsProps> {
    Tag: typeof BrTag;
}
declare const BrTableTags: BrTableTagsInterface;
export default BrTableTags;
