import { UseNodeSchema } from "./use-node-schema";
import { UseConfig } from "./types";
export interface NodeFactory {
    createNodeModelByType: (nodeType: string, config?: Record<string, any>) => any;
    createPort: (portType: string, config?: Record<string, any>) => any;
    createConnection: (connectionType: string, config?: Record<string, any>) => any;
    loadNodeComponent: () => Promise<any[]>;
}
export declare function useNodeResolver(config: UseConfig, useNodeSchemaComposition: UseNodeSchema): NodeFactory;
