import type { ColorScale } from "../types"; /** WCAG AA for normal-size text. Accent-as-text must clear this against the canvas. */ declare const AA_NORMAL_TEXT = 4.5; export declare const pickAccentText: (primary: ColorScale, canvas: string) => string; /** Canvas assumed when no Pixelize theme is mounted. Never painted; only fed to contrast math. */ export declare const DEFAULT_CANVAS = "#ffffff"; /** Mode-stable ink absolutes, used when no theme supplies `colors.white` / `colors.black`. */ export declare const DEFAULT_WHITE = "#ffffff"; export declare const DEFAULT_BLACK = "#000000"; /** Below this relative luminance a canvas is treated as dark. Well clear of both real canvases. */ declare const DARK_CANVAS_LUMINANCE = 0.2; /** True when `canvas` is a dark surface. Lets style configs branch without threading color mode. */ export declare const isDarkCanvas: (canvas: string) => boolean; export declare const accentTextOnCanvas: (scale: ColorScale, canvas: string) => string; /** Accent ink for chrome that can land on any plane (canvas, card, overlay): the first rung clearing AA on all. */ export declare const accentTextOnPlanes: (scale: ColorScale, planes: readonly string[]) => string; export declare const onFilled: (fill: string, white: string, black: string) => string; export declare const onGradient: (from: string, to: string, white: string, black: string) => string; export { AA_NORMAL_TEXT, DARK_CANVAS_LUMINANCE };