import type { NodeState, EdgeState } from "../../core/constants.js"; import type { PlainGraphData } from "../../graph-data/graph-data.js"; type GraphJSON = { version?: number; nodes?: unknown[] | null; edges?: unknown[] | null; }; export type ParseJSONGraphOptions = { json: GraphJSON; nodeParser?: (node: any) => { id: string | number; state?: NodeState; selectable?: boolean; highlightConnectedEdges?: boolean; label?: string; weight?: number; } | null; edgeParser?: (edge: any) => { id: string | number; directed?: boolean; sourceId: string | number; targetId: string | number; state?: EdgeState; label?: string; weight?: number; } | null; }; export declare function parseJSONGraph({ json, nodeParser, edgeParser }: ParseJSONGraphOptions): PlainGraphData | null; export {}; //# sourceMappingURL=parse-json-graph.d.ts.map