/** * Chart helpers — series normalization, color resolution, value formatting. * Mirrors the editor app's helper, minus the brand-kit palette path (the * presenter is kit-agnostic; `useKitPalette: true` simply falls through to * `element.colors`). */ import type { ChartElement, ChartSeries, ChartDataPoint, ChartValueFormat } from '../types'; export declare function normalizeSeries(element: ChartElement): ChartSeries[]; export declare function paletteFor(element: ChartElement): string[]; export declare function resolveColor(element: ChartElement, seriesIndex: number, pointIndex: number, point: ChartDataPoint | undefined, series: ChartSeries | undefined): string; export declare function formatValue(value: number, fmt?: ChartValueFormat): string; export declare function computeYRange(element: ChartElement): { min: number; max: number; };