import type { PopoverProps } from 'antd';
import type { ColumnsType } from 'antd/es/table';
import React from 'react';
import '../MetadataPopoverList/index.less';
import './index.less';
export type DataCountPopoverType = 'list' | 'interface' | 'tag';
export interface DataCountPopoverDataInterface {
    service: (params: Record<string, unknown>) => Promise<unknown[]>;
    params?: Record<string, unknown>;
}
export interface DataCountPopoverProps {
    /** 展示方式：list 表格、interface 接口拉取、tag 标签列表 */
    type?: DataCountPopoverType;
    columns: ColumnsType<Record<string, unknown>>;
    dataList?: unknown[];
    dataInterface?: DataCountPopoverDataInterface;
    /** 展示数量，默认取列表长度 */
    count?: number;
    iconName: string;
    placement?: PopoverProps['placement'];
}
declare const DataCountPopover: React.FC<DataCountPopoverProps>;
export default DataCountPopover;
