import { IDoorConfigOption, IDoorInfo } from "../DoorInterface";
import { DoorDrawerStore } from "./DoorDrawerStore";
import { IConfigOption } from "../../Components/Board/UserConfig";
import { IUiOption } from "../BoardInterface";
export declare const openDirTitle: {};
export interface IHingeRule {
    count: number;
    up: number;
    down: number;
    startDist: number;
    endDist: number;
}
export declare class DoorStore extends DoorDrawerStore {
    title: string;
    m_Option: IDoorConfigOption;
    doorDrawersInfo: IDoorInfo[];
    byOpenDir: boolean;
    currentRule: IHingeRule;
    uiRule: IUiOption<IHingeRule>;
    rules: IHingeRule[];
    currentIndex: number;
    InitInfos(): void;
    /**
     * 改变开门类型
    */
    ChangeOpenDir(info: IDoorInfo): void;
    InitOption(): void;
    SaveConfig(): {
        option: IDoorConfigOption;
        doorsInfo: IDoorInfo[];
        other: IHingeRule[];
    };
    UpdateOption(cof: IConfigOption<IDoorConfigOption>): void;
    private UpdateConfigVersion;
    get UIRule(): IUiOption<IHingeRule>;
    AppendRule(): void;
    RemoveRule(): Promise<void>;
}
//# sourceMappingURL=DoorStore.d.ts.map