import { h } from 'vue'; /** * 筛选组件策略接口 */ export interface FilterComponentStrategy { render: (ctx: { fp: Record; inputVal: string; setInputVal: (v: string) => void; options: any[]; }) => ReturnType; } /** valueType -> interactionType 的映射表,用于自动推断交互组件类型 */ export declare const VALUE_TYPE_MAP: Record; /** 根据列配置解析最终的交互组件类型 */ export declare const resolveInteractionType: (customType: string | undefined, fieldConfig: Record | undefined, valueType: string) => string | undefined; /** * 策略注册表 * 新增组件类型只需在此处追加一条策略,无需修改 renderValueField 主逻辑 */ export declare const FILTER_COMPONENT_STRATEGIES: Record;