import * as React from 'react';
import { ITempTagProps } from '../../../Add-on/Template/TemplateTagCommand';
import { R2bReplaceProps } from '../../../Add-on/twoD2threeD/R2bConfigComponent';
import { TemplateRecord } from '../../../DatabaseServices/Template/TemplateRecord';
import { TempalteEditorStore } from '../../Store/TemplateEditorStore';
import { IDirectoryProps } from '../SourceManage/CommonPanel';
import { IGetRoomInfo } from './GetRoomCabName';
export interface ITemplateManage {
    store?: TempalteEditorStore;
    currentTag?: ITempTagProps;
    R2bReplace?: R2bReplaceProps;
}
export declare class TemplateManage extends React.Component<ITemplateManage, {}> {
    private option;
    private canCreateTemplate;
    private currentProps;
    private currentTemplateInfo;
    private autoCutOption;
    private TemplateDrawHingeTool;
    constructor(props: any);
    private renderNav;
    private renderMenuItems;
    private startCreateTemplate;
    handleTemplate: (name: string, currentDir: IDirectoryProps, callback: Function) => Promise<void>;
    private uploadTemplate;
    private handleRenameTemplate;
    private GetTempalteAndUpdate;
    private handleInsert;
    private handleInsertByBasePt;
    private SetRootCabName;
    private handleInsertBySpace;
    private DrawKuGanBySpace;
    private handleEditor;
    private handleReplace;
    private handleR2bRepalce;
    private handleInsertHandle;
    private addHandleToDoor;
    private selectTemplateTag;
    private renderBody;
    private renderTemplateInfo;
    private renderTemplateList;
    handleHotKey: (e: KeyboardEvent) => void;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element;
}
/**
 *板名、柜名、房名 openDir跟随
 * @param {IGetRoomInfo} entInfo  替换前的模块信息
 * @param {TemplateRecord} newTemp 替换后的模块
 */
export declare function followAttribute(entInfo: IGetRoomInfo, newTemp: TemplateRecord): void;
//# sourceMappingURL=TemplateComponent.d.ts.map