import { EventBus } from "../../../eventBus"; import { ScreenPosition } from "../../../io"; import { DiagramState, DiagramTheme, Node } from "../../../models"; export declare class NodeManager { private state; private eventBus; private theme; constructor(state: DiagramState, eventBus: EventBus, theme: DiagramTheme); rebuildTree: () => void; loadNodes: (nodes: Node[]) => void; foldChildren: (node: Node, unfold?: boolean | undefined) => void; selectSingleNodeByFunction: ({ fn }: { fn: (node: Node) => boolean; }) => void; selectSingleNode: (node: Node) => void; goToNodeType: () => void; selectNode: ({ position }: { position: ScreenPosition; }) => void; getCenter: () => { x: number; y: number; }; }