import { NodeInfo, NodeType } from "../../idl";
import { AbsProps } from "../props/AbsProps";
import { GraphicNode } from "./GraphicNode";
export declare class NodeFactory {
    static instance: NodeFactory | null;
    static getInstance(): NodeFactory;
    create(id: string, type: NodeType, zIndex: number, props: Partial<AbsProps>[], parent: GraphicNode, ctx: CanvasRenderingContext2D): GraphicNode;
    createByNodeInfo(nodeInfo: NodeInfo, parent: GraphicNode, ctx: CanvasRenderingContext2D): GraphicNode;
}
//# sourceMappingURL=NodeFactory.d.ts.map