import type { Vec2 } from '../../math'; import type { AxisConfig, BarMode, BarSeries, Orientation } from '../core/types'; export type NumericBarSeries> = Omit, `x`> & { x: readonly number[]; }; export declare function normalize_categorical>(series: readonly BarSeries[], explicit_categories?: readonly string[]): { category_list: string[]; internal_series: NumericBarSeries[]; }; export declare const on_secondary_value_axis: (srs: Pick, orientation: Orientation) => boolean; type RangeAxis = Pick; export interface BarAutoRangeOpts> { visible_series: readonly NumericBarSeries[]; mode: BarMode; orientation: Orientation; range_padding: number; category_count: number; axes: Record<`x` | `x2` | `y` | `y2`, RangeAxis>; } export declare function compute_bar_auto_ranges>(opts: BarAutoRangeOpts): { x: Vec2; x2: Vec2; y: Vec2; y2: Vec2; }; export declare function compute_stacked_offsets>(internal_series: readonly NumericBarSeries[], mode: BarMode, orientation?: Orientation): number[][]; export interface GroupInfo { bar_series_count: number; bar_series_indices: number[]; } export declare function compute_group_info>(internal_series: readonly NumericBarSeries[], mode: BarMode): GroupInfo; export {};