import { FieldService } from '../service/FieldService';
import { ModelService } from '../service/ModelService';
import { LoadStatus } from '../types/instance';
export declare class FieldScope {
    private fieldService;
    private modelService;
    private modelKeys;
    modelStatus: Map<string, LoadStatus>;
    fieldStatus: Map<string, LoadStatus>;
    constructor(modelKeys: ModelKey[], fieldService: FieldService, modelService: ModelService);
    /**
     * 预加载
     */
    preload(concurrency?: number): Promise<void>;
    run(modelKey: ModelKey): Promise<void>;
    addModel(modelKey: ModelKey, autoLoad?: boolean): Promise<void>;
    /** 刷新某一个模型 */
    reloadModelKey(modelKey: ModelKey): Promise<void>;
    getModelKeys(): ModelKey[];
    dispose(): void;
}
