import type { Channel, ChannelOutput, CartesianChartMark, CartesianScaleBindings, ChartCurve, ChartKey, ChartMarkMotionOptions, ChartValue, VisualChannel } from './types.js'; export interface LinkOptions extends ChartMarkMotionOptions, CartesianScaleBindings { id?: string; x1: Channel; y1: Channel; x2: Channel; y2: Channel; z?: Channel; color?: Channel; key?: Channel; stroke?: VisualChannel; strokeOpacity?: VisualChannel; strokeWidth?: VisualChannel; strokeDasharray?: string; lineCap?: 'butt' | 'round' | 'square'; curve?: ChartCurve; } type LinkXOutput = ChannelOutput | ChannelOutput; type LinkYOutput = ChannelOutput | ChannelOutput; /** * Draws one independent segment per datum between two scaled positions. * * Link is the general segment primitive for intervals, error bars, networks, * slopegraphs, and annotations. Use lineY when consecutive rows form a path. */ export declare function link>>(source: Iterable, options: TOptions): CartesianChartMark, LinkYOutput, LinkXOutput, LinkYOutput, TOptions>; export {};