import * as React from 'react';
import type { PinnedCommonQuery } from '../../../utils/pinned-common-queries-storage';
import type { FormilyFieldConfig } from '../../../../cn-ai-table/types/formily-field-config';
export interface CommonQueryListProps {
    /** 是否正在加载 */
    loading: boolean;
    /** 钉住的查询条件列表 */
    pinnedQueries: PinnedCommonQuery[];
    /** 未钉住的查询条件列表 */
    unpinnedQueries: Array<{
        id?: string;
        tokens: any[];
    }>;
    /** 点击查询条件的回调 */
    onQueryClick: (tokens: any[]) => void;
    /** 钉住查询条件的回调 */
    onPinQuery: (translator: {
        id?: string;
        tokens: any[];
    }) => void;
    /** 取消钉住查询条件的回调 */
    onUnpinQuery: (queryId: string) => void;
    /** 关闭弹窗的回调 */
    onClose?: () => void;
    /** 字段配置 schema（可选，用于获取 format） */
    schema?: Record<string, FormilyFieldConfig>;
}
/**
 * 常用查询条件列表组件
 */
export declare function CommonQueryList({ loading, pinnedQueries, unpinnedQueries, onQueryClick, onPinQuery, onUnpinQuery, onClose, schema, }: CommonQueryListProps): React.JSX.Element;
