import type { ColorScale, PaletteProps } from "../types"; /** Resolved fill + ink for a solid surface, including hover/active steps. */ export type FilledSurface = { rung: keyof ColorScale; fill: string; color: string; hoverRung: keyof ColorScale; hoverFill: string; hoverColor: string; activeRung: keyof ColorScale; activeFill: string; activeColor: string; }; export declare const solidFillRung: (scale: ColorScale, white: string, canvas?: string) => keyof ColorScale; /** * Hover (step 0) or active (step 1) fill rung, one step darker than `solidFillRung`. A step may not * flip the label's side of AA (zinc dark: near-white fill, black ink) or fall below `CHROME_BORDER` * against the canvas (a pressed warning solid used to reach 1.00:1 on the card). */ export declare const darkerFillRung: (scale: ColorScale, canvas: string, white: string, step: 0 | 1) => keyof ColorScale; /** Label ink for a specific fill swatch — always `onFilled`, exported for style configs. */ export declare const labelOnFill: (fill: string, white: string, black: string) => string; type SurfaceColors = Pick; export declare const resolveFilledSurface: (scale: ColorScale, colors: SurfaceColors) => FilledSurface; export {};