import type { Channel, CartesianChartMark, ChartKey, ChartMark, ChartMarkMotionOptions, ChartValue, OptionChannelOutput, VisualChannel, WidenChartValue } from './types.js'; export interface RuleYOptions extends ChartMarkMotionOptions { id?: string; y?: Channel; color?: Channel; stroke?: VisualChannel; strokeOpacity?: number; strokeWidth?: number; strokeDasharray?: string; yScale?: string; } export interface RuleXOptions extends ChartMarkMotionOptions { id?: string; x?: Channel; color?: Channel; stroke?: VisualChannel; strokeOpacity?: number; strokeWidth?: number; strokeDasharray?: string; xScale?: string; } type RuleFallback = [ WidenChartValue> ] extends [never] ? ChartValue : WidenChartValue>; export declare function ruleY(source: Iterable): ChartMark>; export declare function ruleY> | undefined>(source: Iterable, options: TOptions): CartesianChartMark>, never, OptionChannelOutput>, TOptions>; export declare function ruleX(source: Iterable): ChartMark, never>; export declare function ruleX> | undefined>(source: Iterable, options: TOptions): CartesianChartMark>, never, OptionChannelOutput>, never, TOptions>; export {};