import type { ChartDrawingArea } from '@mui/x-charts/hooks'; import type { SankeyLayout, SankeyLayoutLink, DefaultizedSankeySeriesType } from "./sankey.types.js"; /** * Calculates the layout for a Sankey diagram using d3-sankey * * @param data The Sankey data (nodes and links) * @param drawingArea The drawing area dimensions * @param options Layout configuration options * @returns The calculated layout */ export declare function calculateSankeyLayout(series: DefaultizedSankeySeriesType, drawingArea: ChartDrawingArea): SankeyLayout; export declare function improvedNaiveSankeyLinkPathHorizontal(link: SankeyLayoutLink, curveCorrection?: number): string;