import type { PopoverProps } from 'antd';
import React from 'react';
import { type MetadataTexts } from '../metadata/locale';
import './index.less';
export interface MetadataTagsProps {
    type: 'labels' | 'taints' | 'annotations' | string;
    datasource?: unknown;
    maxCount?: number;
    textLimit?: number;
    placement?: PopoverProps['placement'];
    needEdit?: boolean;
    valueRequired?: boolean;
    texts?: MetadataTexts;
    onCallback?: (data: Record<string, string>[]) => void;
}
declare const MetadataTags: React.FC<MetadataTagsProps>;
export default MetadataTags;
