/** Chrome colours drawn onto the canvas, resolved from `--wmap-*` per draw. */
export interface CanvasTheme {
    /** Canvas background fill. */
    background: string;
    /** Raised surface fill (e.g. gallery-export header strip). */
    surface: string;
    /** Primary on-canvas text (axis labels, legend labels, die-count). */
    text: string;
    /** Muted on-canvas text (overflow "+N", secondary counts). */
    textMuted: string;
    /** Axis tick lines / faint separators. */
    axisLine: string;
    /** Active-selection highlight (legend row, active bin). */
    accent: string;
}
/**
 * Resolve the canvas chrome palette from `--wmap-*` custom properties on `el`
 * (the render container, where a host sets its theme). Call ONCE per draw.
 * Each token falls back to its light default, so a host that sets no variables
 * gets the previous appearance exactly.
 *
 * `background` maps to `--wmap-canvas-bg` (a canvas can be a different shade
 * from the DOM surface — often a touch darker/lighter than the panel), falling
 * back to `--wmap-surface` and then the light default, so hosts that only set
 * the general surface token still get a sensible canvas.
 */
export declare function resolveCanvasTheme(el: HTMLElement | null): CanvasTheme;
//# sourceMappingURL=canvasTheme.d.ts.map