import { Singleton } from "../../../../../Common/Singleton";
import type { ILayerNode, ILayerRouter, ILayerTemplate } from "./Type";
/** 图层的状态单例 */
export declare class LayerStore extends Singleton {
    /** 自增ID(用于新图层的默认名) */
    ID: {
        file: number;
        folder: number;
    };
    /** 图层数据 */
    data: ILayerNode[];
    /** 当前图层 */
    currentLayer: ILayerNode;
    /** 是否显示视口冻结 */
    isShowViewportOff: boolean;
    /** 初始化 */
    Init(): void;
    /** 克隆图层主要数据 */
    Clone(): any;
}
/** 图层特性单例 */
export declare class LayerPropertieStore extends Singleton {
    /** 是否显示图层特性 */
    isShow: boolean;
}
/** 图层模板的状态单例 */
export declare class LayerTemplateStore extends Singleton {
    /** 图层数据 */
    data: ILayerTemplate[];
    Clone(): {
        name: string;
        visible: boolean;
        selected: boolean;
        changeable: boolean;
        data: import("./Type").TLayerTemplateDataNode[];
    }[];
    /** 添加模板 */
    Append(name: string): ILayerTemplate;
    /** 删除模板 */
    Remove(tem: ILayerTemplate): void;
    /** 搜索模板 */
    Search(name: string, isFuzzy?: boolean): void;
}
/** 图层路由 */
export declare class LayerRouterStore extends Singleton {
    /** 自增ID */
    ID: {
        file: number;
    };
    disable: boolean;
    /** 路由数据 */
    data: ILayerRouter[];
    /** 图层选项 */
    layers: {
        door: LayerOption;
        drawer: LayerOption;
        wine: LayerOption;
    };
    /** 克隆图层选项 */
    CloneLayers(): {
        door: {
            name: string;
            color: number;
        };
        drawer: {
            name: string;
            color: number;
        };
        wine: {
            name: string;
            color: number;
        };
    };
    /** 添加路由 */
    Append(): void;
    /** 删除路由 */
    Remove(index: number): void;
}
/** 用于绘制时确认图层的图层选项 */
declare class LayerOption {
    private _name;
    private _color;
    get name(): string;
    set name(layerName: string);
    get color(): number;
    set color(layerColor: number);
    Clone(): {
        name: string;
        color: number;
    };
}
/** 默认的图层路由单项数据 */
export declare const DefaultRouterItem: {
    viewDir: {
        type: string;
        isUse: boolean;
    }[];
    entity: {
        type: string;
        isUse: boolean;
    }[];
    layer: {
        name: string;
        colorIndex: number;
    };
};
export {};
//# sourceMappingURL=Store.d.ts.map