import type { LinkOptions } from './link.js'; import type { Channel, ChannelOutput, CartesianChartMark, ChartKey, ChartValue } from './types.js'; export interface DelaunayLinkDatum { readonly edgeKey: string; readonly group: ChartKey | null; readonly source: TDatum; readonly sourceIndex: number; readonly sourceKey: ChartKey; readonly target: TDatum; readonly targetIndex: number; readonly targetKey: ChartKey; readonly x1: TXValue; readonly y1: TYValue; readonly x2: TXValue; readonly y2: TYValue; } export type DelaunayLinkOptions = { x: Channel; y: Channel; /** Triangulates each non-null group independently. */ z?: Channel; /** Stable point identity used to derive canonical edge keys. */ key?: Channel; } & Omit>, 'x1' | 'y1' | 'x2' | 'y2' | 'z' | 'key'>; type DelaunayXOutput = ChannelOutput; type DelaunayYOutput = ChannelOutput; /** Connects final-screen Delaunay neighbors while retaining semantic endpoints. */ export declare function delaunayLink>>(source: Iterable, options: TOptions): CartesianChartMark, DelaunayYOutput>, DelaunayXOutput, DelaunayYOutput, DelaunayXOutput, DelaunayYOutput, TOptions>; export {};