import { IConfigService, ConfigItem } from "./IConfigService";
import * as mongoDB from "mongodb";
export declare class ConfigService implements IConfigService {
    private configDic;
    private gameId;
    private configCollection;
    setConfigCollection(gameId: string, configCollection: mongoDB.Collection<mongoDB.Document>): void;
    run(): void;
    private syncAllConfigAsync;
    syncConfigFromDatabaseAsync(configName: string, label: string): Promise<ConfigItem>;
    setConfigAsync(configName: string, label: string, data: {}, withSave: boolean): Promise<ConfigItem>;
    getConfigItem(configName: string, label: string): ConfigItem;
    getConfigDicViaLabel(label: string): Map<string, ConfigItem>;
}
