import { FieldProviderBase } from '../../../capabilities/model-field-runtime/provider/FieldProviderBase';
import { FieldProviderRuntime } from '../../../capabilities/model-field-runtime/provider/FieldProviderRuntime';
import { FieldListResult, FieldQueryParams } from '../../../capabilities/model-field-runtime/types/field';
import { FieldProviderExtendedConfig } from '../../../capabilities/model-field-runtime/types/instance';
/** 注册接口和过滤函数 */
declare class EdhrFieldRuntime extends FieldProviderRuntime {
    private fetcher;
    private filterFn?;
    constructor(base: FieldProviderBase, modelKey: ModelKey, fetcher: (params?: FieldQueryParams) => Promise<FieldListResult>, filterFn?: (f: any) => boolean);
    protected load(params?: FieldQueryParams): Promise<FieldListResult>;
}
declare class EdhrFieldProvider extends FieldProviderBase {
    private fetcherFactory;
    private filterFn?;
    constructor(cfg: FieldProviderExtendedConfig, fetcherFactory: (modelKey: ModelKey) => (params?: FieldQueryParams) => Promise<FieldListResult>, filterFn?: (f: any) => boolean);
    createRuntime(modelKey: ModelKey): EdhrFieldRuntime;
}
export declare const edhrFieldProvider: EdhrFieldProvider;
export {};
