import type { ChartData } from '../../core/types/chart-data.js'; import type { SankeyGraphModel } from '../types/sankey-internal.js'; interface BuildSankeyGraphParams { edges: ChartData; fromAccessor: string; toAccessor: string; valueAccessor: string; nodes?: ChartData; nodeIdAccessor?: string; nodeLabelAccessor?: string; columnIdAccessor?: string; } /** * Resolves the edge rows and optional node metadata into the domain graph * model. Edge endpoints are collected in a single pass over `edges`; node * metadata is only indexed from `nodes` afterwards, so the (typically much * smaller) `nodes` array is never re-scanned per edge. Columns are indexed in * the order in which their ids first appear in `nodes`. */ export declare const buildSankeyGraph: ({ edges, fromAccessor, toAccessor, valueAccessor, nodes, nodeIdAccessor, nodeLabelAccessor, columnIdAccessor, }: BuildSankeyGraphParams) => SankeyGraphModel; export {}; //# sourceMappingURL=build-sankey-graph.d.ts.map