import { DataValue, ScaleConfig, DatasetConfig } from '../types'; /** * Get the numeric value from a data point */ export declare const getNumericValue: (value: DataValue) => number; /** * Get the minimum value from a data point (for floating bars) */ export declare const getMinValue: (value: DataValue) => number; /** * Get the maximum value from a data point */ export declare const getMaxValue: (value: DataValue) => number; /** * Calculate nice tick values for an axis */ export declare const calculateNiceTicks: (min: number, max: number, maxTicks?: number) => number[]; /** * Calculate scale configuration from datasets */ export declare const calculateScale: (datasets: DatasetConfig[], options?: { min?: number; max?: number; beginAtZero?: boolean; maxTicks?: number; stacked?: boolean; }) => ScaleConfig; /** * Convert a value to a position on the chart */ export declare const valueToPosition: (value: number, scale: ScaleConfig, size: number, inverted?: boolean) => number; /** * Convert a position to a value */ export declare const positionToValue: (position: number, scale: ScaleConfig, size: number, inverted?: boolean) => number; /** * Format a number for display */ export declare const formatValue: (value: number, options?: { decimals?: number; prefix?: string; suffix?: string; thousandsSeparator?: string; }) => string;