import type { SenderRef, SlotConfigType } from '../cn-sender/view/types/index.js';
import type { FormilyFieldConfig } from '../cn-ai-table/types/formily-field-config.js';
/**
 * Hook：用于插入字段 tag 到 CnSender
 * @param senderRef - CnSender 的 ref
 * @param popupTriggerKey - 触发弹窗的按键，默认为 "/"
 * @param customRender - 自定义渲染函数（可选，如果不提供则使用默认的 FieldTagPopupWrapper）
 * @returns insertFieldTag 函数
 */
export declare function useInsertFieldTag(senderRef: React.RefObject<SenderRef>, popupTriggerKey?: string, customRender?: (value: any, onValueChange: (value: any) => void, renderProps: {
    disabled?: boolean;
    readOnly?: boolean;
}, item: SlotConfigType, formMapRef?: React.MutableRefObject<Record<string, {
    labels: any[];
    values: any[];
}>>, onFormMapUpdate?: (key: string, data: {
    labels: any[];
    values: any[];
}) => void) => React.ReactNode): (fieldKey: string, fieldConfig: FormilyFieldConfig) => void;
