export declare const CHART_COLORS: string[]; export interface ChartSeries { name: string; data: number[]; color?: string; } export interface ChartDataPoint { label: string; value: number; color?: string; } /** Map a value [min..max] → [rangeMin..rangeMax] */ export declare function scale(value: number, min: number, max: number, rangeMin: number, rangeMax: number): number; /** Compute nice axis ticks for a range */ export declare function niceTicks(min: number, max: number, count?: number): number[]; /** Smooth bezier path through points */ export declare function smoothPath(points: [number, number][]): string; /** Format number for display */ export declare function fmtNum(n: number): string; export declare function generateUniqueId(prefix: string): string;