import type { Channel, CartesianChartMark, CartesianScaleBindings, ChartKey, ChartMark, ChartMarkMotionOptions, ChartMarkState, ChartAreaStateStyle, ChartValue, OptionChannelOutput, VisualChannel } from './types.js'; import type { StackLayout } from './stack.js'; export interface AreaXCurve { areaX: (right: readonly (readonly [number, number])[], left: readonly (readonly [number, number])[]) => string; } export interface AreaXOptions extends ChartMarkMotionOptions, CartesianScaleBindings { id?: string; x?: Channel; x1?: number | Channel; x2?: number | Channel; y?: Channel; z?: Channel; color?: Channel; key?: Channel; fill?: VisualChannel; fillOpacity?: number; stroke?: VisualChannel; strokeWidth?: number; curve?: AreaXCurve; layout?: StackLayout; states?: readonly ChartMarkState>[]; } export declare function areaX(source: Iterable): ChartMark; export declare function areaX> | undefined>(source: Iterable, options: TOptions): CartesianChartMark, number, OptionChannelOutput, TOptions>;