import type { CrudSearchItem, CrudTableOptions, TablePlugin } from '../../../typings/admin/comm/crud';
export type { TablePlugin };
/** 表格树形展示 */
export declare function toTree(options?: {
    lazy?: boolean;
}): TablePlugin;
/** 表单自动聚焦 */
export declare function setFocus(prop?: string): {
    __plugin: string;
    prop: string;
};
/** required → rules */
export declare function setRules(): {
    __plugin: string;
};
/** 搜索项自动生成 */
export declare function setAuto(options?: {
    hideLabel?: boolean;
    ignoreFields?: string[];
}): {
    hideLabel?: boolean;
    ignoreFields?: string[];
    __plugin: string;
};
/** 表单 / 表格 EPS 自动生成（与 Search.setAuto 同构） */
export declare function setFormAuto(options?: {
    ignoreFields?: string[];
}): {
    ignoreFields?: string[];
    __plugin: string;
};
export declare function setTableAuto(options?: {
    ignoreFields?: string[];
}): {
    ignoreFields?: string[];
    __plugin: string;
};
export declare const Plugins: {
    Table: {
        toTree: typeof toTree;
        setAuto: typeof setTableAuto;
    };
    Form: {
        setFocus: typeof setFocus;
        setRules: typeof setRules;
        setAuto: typeof setFormAuto;
    };
    Search: {
        setAuto: typeof setAuto;
    };
};
/** 把 plugins 合并进 table options + 全局 style */
export declare function applyTablePlugins(options?: CrudTableOptions & {
    plugins?: TablePlugin[];
}): CrudTableOptions;
/** 从 EPS / service.search 生成搜索项（跳过 none:true） */
export declare function buildAutoSearchItems(service: {
    namespace?: string;
    search?: Record<string, unknown>;
}, options?: {
    hideLabel?: boolean;
    ignoreFields?: string[];
}): CrudSearchItem[];
