import { IDatasourceConfig } from '@chief-editor/base';
import { FlowDatasource } from '../types';
import { FlowScheduler } from '../lib/FlowScheduler';
export interface IFuncDatasourceConfig<V, DS> extends IDatasourceConfig<V, DS> {
    hook: string;
    isWatch: boolean;
    watchKeys: string;
}
export declare function funcDatasourceLoader<V, DS, DP, CG, ST>(scheduler: FlowScheduler<V, DS, DP, CG, ST>, config: IDatasourceConfig<V, DS>): FlowDatasource<V, DS, DP, CG, ST>;
