import type { FormilyFieldConfig } from '../../cn-ai-table/types/formily-field-config';
import React from 'react';
/** formMap 中存储的字段数据 */
export interface FormMapData {
    labels: any[];
    values: any[];
    /** 下拉列表字段，用于 STRUCTURED 模式传递给 ai_translate 接口 */
    options?: Array<{
        label: string;
        value: string | number;
    }>;
    /** 组件类型，用于判断如何处理 value */
    columnType?: string;
}
export interface FieldTagPopupProps {
    prefixCls: string;
    tagKey: string;
    config: FormilyFieldConfig;
    value: any;
    onValueChange: (value: any) => void;
    renderProps: {
        disabled?: boolean;
        readOnly?: boolean;
    };
    formMapRef?: React.MutableRefObject<Record<string, FormMapData>>;
    form?: any;
    formProps?: any;
    schema?: any;
    fieldKey?: string;
    onFormMapUpdate?: (key: string, data: FormMapData) => void;
    title?: string;
}
