import type { ModuleInstance } from '@xyo-network/module-model'; import type { ElementDefinition } from 'cytoscape'; interface ModuleInfo { children: ModuleInfo[]; depth: number; mod: ModuleInstance; } export declare const CytoscapeElements: { MaxNameLength: number; buildEdge(rootNode: ElementDefinition, newNode: ElementDefinition, properties?: Record): { data: { id: string; source: string | undefined; target: string | undefined; }; }; buildElements(mod: ModuleInstance): Promise; buildElementsFromInfo(info: ModuleInfo, root?: ElementDefinition, classes?: string[]): Promise; buildNode(mod: ModuleInstance, properties?: Record, classes?: string[]): ElementDefinition; buildRootNode: (mod: ModuleInstance) => ElementDefinition; normalizeName(name?: string): string | undefined; recurseNodes(root: ModuleInstance, maxDepth?: number, depth?: number): Promise; }; export {}; //# sourceMappingURL=CytoscapeElements.d.ts.map