import { ExtrudeHole } from "../../DatabaseServices/3DSolid/ExtrudeHole";
import { IConfigOption, IExportConfigData } from "../Components/Board/UserConfigComponent";
import { BoardStore } from "./BoardStore";
import { DrillingOption } from "./drillInterface";
export declare enum DrillConfigSortType {
    Default = "1",//默认
    CH = "2",//拼音首字母
    CHD = "3",//拼音首字母倒序
    ZDY = "4"
}
export interface IExportDrillOption {
    [key: string]: {
        ruleMap: {
            [key: string]: DrillingOption[];
        };
    };
}
export declare class DrillStore extends BoardStore {
    m_CurrentRuleIndex: number;
    currentConfigTypeName: string;
    rules: DrillingOption[];
    drillConfigSortType: DrillConfigSortType;
    customConfigSort: string[];
    m_Option: DrillingOption;
    drillConfig: Map<string, DrillingOption[]>;
    defaultfDrillConfig: Map<string, DrillingOption[]>;
    deleteHoleTemps: Set<unknown>;
    constructor();
    private GetDefaultOption;
    InitOption(): void;
    AddNewDrillType(name: string): void;
    SaveRuleOption(): void;
    SaveConfig(): IConfigOption<import("./OptionInterface/IOptionInterface").AnyObject>;
    UpdateOption(cof: IConfigOption): void;
    ChangeRules(i: number): void;
    DeleteRule: () => void;
    HasInvailValue(): string;
    /**修正就版本排钻配置,缓存排钻模板 */
    HandleDrillConfig(ruleMap: Map<string, DrillingOption[]>): void;
    CacheDrillTemp(conf: DrillingOption): Promise<void>;
    GetDrillTemp(conf: {
        tempId: string;
        tempName: string;
    }, hasToaster?: boolean): Promise<ExtrudeHole[]>;
    GetOtherConfig(conf: IExportDrillOption): Promise<{
        [key: string]: string;
    }>;
    HandleImportConfig(data: IExportConfigData): Promise<void>;
}
//# sourceMappingURL=DrillStore.d.ts.map