import React, { CSSProperties } from 'react'; import { LiteralUnion } from 'antd/es/_util/type'; import BreadTag from './breadTag'; import OverFlowGroup from './OverFlowGroup'; import { WhaleListTagProps } from './WhaleListTag'; import { ColorType } from './ColorType'; import { More } from './More'; import { Group } from './Group'; import { TagProps } from './types'; interface WhaleListTagInterface extends React.FC { OverFlowGroup: typeof OverFlowGroup; More: typeof More; Group: typeof Group; IconClose: typeof IconClose; BreadTag: typeof BreadTag; createTag: typeof createTag; } declare const ListTag: WhaleListTagInterface; interface IconCloseInterface { onClose?: () => void; style?: CSSProperties; } export declare const IconClose: React.FC; interface RelationInterface { [k: string]: LiteralUnion; } export declare const createTag: (relation: RelationInterface) => ({ color, ...restProps }: T) => JSX.Element; export { smallLenWidth, longLenWidth } from "./const"; export default ListTag; export type { WhaleListTagInterface as TagInterface };