/** * Locale-aware number formatting helpers for charts. Mirrors `useChartColor`: * a hook that returns memoized formatting functions so chart consumers share one * consistent compact-number style instead of hand-rolling `>= 1000 → k` logic. * * @returns {{ formatCompact: (value: number) => string }} An object exposing * `formatCompact`, a locale-aware compact formatter (e.g. `40000 → "40K"`, `40_000_000 → "40M"`). * @example Abbreviate a y-axis value * ```tsx * const { formatCompact } = useChartNumberFormat(); * formatCompact(40000); // "40K" * ``` */ export declare const useChartNumberFormat: () => { formatCompact: (value: number) => string; };