export{resolveCanvasColor,resolveCanvasColors}from'../../../internal/canvas-color.js'; /** * Resolves the categorical chart ramp to concrete canvas-safe colors. Passing `null` selects the * deterministic fallback directly; omitting the argument reads the document theme. */ export declare function seriesPalette(element?:Element|null):string[]; /** * Resolves a translucent area fill through the live theme scope before Chart.js hands it to the * canvas. The short-lived probe is necessary because canvas silently ignores unresolved * `var()`/unsupported color expressions. */ export declare function translucentAreaColor(scope:Element,color:string):string; /** * Defensive JS-side fallbacks for `themeColors()`-style resolvers, mirroring the light-mode default * of each `--lr-chart-*` token's own CSS fallback chain -- only reached if `getComputedStyle` * somehow can't resolve the custom property at all (e.g. host detached from the document). Shared * by `chart.class.ts` and `box-plot.class.ts`, which both default to the same semantic tokens. */ export declare const FALLBACK_GRID_COLOR="#8a8a90";export declare const FALLBACK_TICK_COLOR="#6b7280";export declare const FALLBACK_LEGEND_COLOR="#1a1a1a";export declare const FALLBACK_TOOLTIP_BG="#fff";export declare const FALLBACK_TOOLTIP_TEXT="#1a1a1a"; /** Mirrors Chart.js's OWN built-in tick font size (`defaults.font.size`, 12px, unrelated to any * `--lr-*` token) -- reached only if `getComputedStyle` can't resolve * `--lr-chart-tick-font-size`/`--_lr-chart-tick-font-size` at all. The canvas charts never set a * font size before `--lr-chart-tick-font-size` existed, so an unset token must keep resolving to * Chart.js's own default rather than a library token -- unlike ``'s SVG * `[part='axis-label']`, which already hardcoded `--lr-font-size-2xs` and keeps that default. */ export declare const FALLBACK_TICK_FONT_SIZE=12; /** Shared canvas theme-color contract every `chart.class.ts`/`box-plot.class.ts` scale, legend, and * tooltip resolver reads from. */ export interface ChartThemeColors{grid:string;tick:string;legend:string;tooltipBg:string;tooltipText:string; /** Axis tick-label font size in pixels, resolved from `--lr-chart-tick-font-size`. */ tickFontSize:number;}