export declare function useChartThemeMode(): string; /** Deep-clones Chart.js options to avoid mutating caller-provided objects. */ export declare function cloneChartOptions(options: T): T; /** Attaches chart data to options when callers have not already done so. */ export declare function attachChartData(chartOptions: Record, chartData: { labels: unknown[]; datasets: unknown[]; }): void; export declare function getCSSVar(property: string, fallback?: string): string; export declare function chartTextColor(): string; export declare function chartMutedColor(): string; export declare function chartFont(weight: 'regular' | 'medium' | 'bold', size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'): string; /** Mutable Chart.js options shape used by theme helpers (accepts Chart.js DeepPartial options). */ type ChartOptionsLike = Record; /** * Applies dark/light theme colors to a Chart.js options object in-place. * * Handles: * - axis ticks, grid lines, borders, and titles (for x/y/r axes) * - legend label color * - chart title color * - tooltip title/body/label colors * - dataset colors (resolves CSS variables in backgroundColor and borderColor) * * @param chartOptions A mutable Chart.js options object (already deep-cloned) * @param axes Which axis keys to apply scale colors to (default: ['x', 'y']) */ export declare function applyChartThemeColors(chartOptions: ChartOptionsLike, axes?: string[]): void; export {};