import { NodeInfo, NodeType } from "../idl";
import { GraphicNode } from "../graphics";
export declare class IdGenerator {
    private prefix;
    /**
     * id，number
     */
    map: Map<NodeType, number>;
    /**
     * z-index记录
     */
    zIndex: number;
    setPrefix(prefix: string): void;
    reset(): void;
    /**
     * a001:1
     * @param type
     */
    genId(type: NodeType): string;
    static genImgFileName(docId: string, nodeId: string): string;
    loadNode(node: NodeInfo): void;
    loadNodeId(nodeId: string): void;
    static genZIndex(parent: GraphicNode): number;
    static type2NodePrefix(type: NodeType): string;
    static nodePrefix2Type(nodePrefix: string): NodeType;
}
//# sourceMappingURL=IdGenerator.d.ts.map