import type { Channel, CartesianChartMark, CartesianScaleBindings, ChartKey, ChartMark, ChartMarkMotionOptions, ChartMarkState, ChartBarStateStyle, ChartValue, OptionChannelOutput, VisualChannel } from './types.js'; import type { GroupLayout } from './group.js'; import type { StackLayout } from './stack.js'; type BarLayout = GroupLayout | StackLayout; export interface BarYOptions extends ChartMarkMotionOptions, CartesianScaleBindings { id?: string; x?: Channel; y?: Channel; y1?: number | Channel; y2?: number | Channel; z?: Channel; color?: Channel; key?: Channel; fill?: VisualChannel; fillOpacity?: number; stroke?: VisualChannel; strokeOpacity?: number; strokeWidth?: number; strokeDasharray?: VisualChannel; layout?: BarLayout; /** Pixels removed from both categorical edges after band layout. */ inset?: number; /** Maximum painted width in pixels after grouping and inset. */ maxThickness?: number; radius?: number; states?: readonly ChartMarkState>[]; } export interface BarXOptions 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; strokeOpacity?: number; strokeWidth?: number; strokeDasharray?: VisualChannel; layout?: BarLayout; /** Pixels removed from both categorical edges after band layout. */ inset?: number; /** Maximum painted height in pixels after grouping and inset. */ maxThickness?: number; radius?: number; states?: readonly ChartMarkState>[]; } export declare function barY(source: Iterable): ChartMark; export declare function barY> | undefined>(source: Iterable, options: TOptions): CartesianChartMark, number, OptionChannelOutput, number, TOptions>; export declare function barX(source: Iterable): ChartMark; export declare function barX> | undefined>(source: Iterable, options: TOptions): CartesianChartMark, number, OptionChannelOutput, TOptions>; export {};