import { MetricFormat } from './types';
/** Format bytes with auto-scaling (B → TiB). */
export declare function formatBytes(n: number, unit?: string): string;
/** Format a value as a percentage. */
export declare function formatPercent(v: number, unit?: string): string;
/** Format a duration in ms with auto-scaling. */
export declare function formatDuration(ms: number, unit?: string): string;
/** Format a rate (/s) with SI prefix. */
export declare function formatRate(v: number, unit?: string): string;
/** Format with SI prefix (1.2k, 3.4M, etc.). */
export declare function formatSI(v: number, unit?: string): string;
/** Format a number with locale-aware commas. */
export declare function formatNumber(v: number, unit?: string): string;
/** Format a Date for axis tick labels (HH:mm). */
export declare function formatTimeAxisTick(date: Date): string;
/** Returns the formatter function for a given MetricFormat preset. Handles null for MUI X compat. */
export declare function getValueFormatter(format: MetricFormat, unit?: string): (v: number | null) => string;
