import type { Core } from 'cytoscape'; import type { GraphViewEdge, GraphViewNode } from './GraphView'; /*** * Reconciles graph data in one batch while retaining positions, selection and element identity. * @performance * Do not replace this with remove-all/add-all: presentation updates must not discard interaction * state or force the runtime to rebuild the graph. Use direct ID lookups for obsolete metadata; * per-element selector scans would add avoidable work. Runtime tests cover hover/selection updates. */ export declare function syncGraphElements(cy: Core, nodes: readonly GraphViewNode[], edges: readonly GraphViewEdge[]): void; //# sourceMappingURL=syncGraphElements.d.ts.map