import type { NodeState, EdgeState } from "../core/constants.js"; import type { ArrowGraphData } from "../graph-data/graph-data.js"; import type { GraphProps, NodeInterface, EdgeInterface } from "./graph.js"; import { Graph } from "./graph.js"; import { ClassicGraph } from "./classic-graph.js"; export type ArrowGraphProps = GraphProps & { data: ArrowGraphData; }; export declare class ArrowGraph extends Graph { private readonly nodeTable; private readonly edgeTable; private readonly nodeVectors; private readonly edgeVectors; private readonly nodeOverrides; private readonly edgeOverrides; private readonly nodeDataCache; private readonly edgeDataCache; private readonly nodeEdgeIndices; private nodeIndices; private edgeIndices; private readonly nodes; private readonly edges; private readonly nodeMap; private readonly _version; constructor(props: ArrowGraphProps); get version(): number; getNodes(): Iterable; getEdges(): Iterable; findNode(id: string | number): NodeInterface | undefined; findNodeById(id: string | number): NodeInterface | undefined; destroy(): void; private getNodeOverride; private getEdgeOverride; getNodeIdByIndex(index: number): string | number; getNodeStateByIndex(index: number): NodeState; setNodeStateByIndex(index: number, state: NodeState): void; isNodeSelectableByIndex(index: number): boolean; shouldHighlightConnectedEdgesByIndex(index: number): boolean; getNodeDegreeByIndex(index: number): number; getNodeInDegreeByIndex(index: number): number; getNodeOutDegreeByIndex(index: number): number; getNodeSiblingIdsByIndex(index: number): (string | number)[]; getNodeConnectedEdgesByIndex(index: number): EdgeInterface[]; setNodeDataByIndex(index: number, data: Record): void; setNodeDataPropertyByIndex(index: number, key: string, value: unknown): void; getNodeDataByIndex(index: number): Record; getNodePropertyValueByIndex(index: number, key: string): unknown; registerEdgeForNode(node: NodeInterface, edge: EdgeInterface): void; unregisterEdgeForNode(node: NodeInterface, edge: EdgeInterface): void; getEdgeIdByIndex(index: number): string | number; getEdgeStateByIndex(index: number): EdgeState; setEdgeStateByIndex(index: number, state: EdgeState): void; isEdgeDirectedByIndex(index: number): boolean; getEdgeSourceIdByIndex(index: number): string | number; getEdgeTargetIdByIndex(index: number): string | number; getEdgePropertyValueByIndex(index: number, key: string): unknown; setEdgeDataByIndex(index: number, data: Record): void; setEdgeDataPropertyByIndex(index: number, key: string, value: unknown): void; getEdgeDataByIndex(index: number): Record; getEdgeConnectedNodesByIndex(index: number): NodeInterface[]; toClassicGraph(): ClassicGraph; private getNodeDataInternal; private getEdgeDataInternal; private extractNodeVectors; private extractEdgeVectors; private assertRequiredColumns; private initializeNodes; private initializeEdges; private registerNodes; private registerEdges; } //# sourceMappingURL=arrow-graph.d.ts.map