import { Singleton } from "../../Common/Singleton";
import { BoardModalType } from "../Components/Board/BoardModal";
import { IConfigOption } from "../Components/Board/UserConfig";
import { IConfigStore } from "./BoardStore";
import { AnyObject } from "./BoardInterface";
import { IndexedDbStore } from "../../IndexedDb/IndexedDbStore";
interface ISaveOption {
    isInit?: boolean;
    isCheckName?: boolean;
    toaster?: boolean;
}
export declare enum EZengZhiBaoId {
    D2ToD3 = "13",
    KJLIMport = "17",
    KJLExport = "20"
}
export declare class UserConfigStore extends Singleton {
    readConfigs: Set<string>;
    InitConfigs(configs: AnyObject, type: string): Promise<void>;
    InitDrillConfig(): Promise<void>;
    InitUpdateBoardInfoConfigs(): Promise<void>;
    InitWinerackConfig(): Promise<void>;
    InitUserConfig(): Promise<void>;
    InitBBSTabIndex(): Promise<void>;
    /**处理用户登陆后的信息 */
    InitUserData(): Promise<void>;
    GetConfig(type: BoardModalType): Promise<IConfigOption | null>;
    private ChangeDrillRuleMap;
    GetAllConfigs(key: BoardModalType | string, isChangeRuleMap?: boolean): Promise<IConfigOption<AnyObject> | undefined>;
    SaveConfig(type: BoardModalType, store: IConfigStore, option?: ISaveOption): Promise<void>;
    DeleteConfig(type: BoardModalType, store: IConfigStore): Promise<void>;
    UpdateBoardOption: (k: string, type: BoardModalType, store: IConfigStore) => Promise<void>;
    private UpdateUserConfig;
    CacheAllConfigs(): Promise<void>;
    CheckCanUseRender(): Promise<void>;
    CheckZengZhiBao(arr: {
        pricing_class_id: string;
    }[]): Promise<void>;
    GetUserConfigNames(): Promise<void>;
    UploadUserConfigNames(dbStore: IndexedDbStore): Promise<void>;
    OpenCacheFile(): Promise<void>;
    ClearUserData(): void;
}
export declare const userConfigStore: UserConfigStore;
export {};
//# sourceMappingURL=UserConfigStore.d.ts.map