import type { ContrastAllowEntry, ContrastConfig, ContrastLevel, ContrastMode, ContrastReversedTextConfig, ResolvedContrastConfig, ResolvedContrastReversedTextConfig } from '../types.js'; export declare const DEFAULT_CONTRAST_REVERSED_TEXT_CONFIG: ResolvedContrastReversedTextConfig; export declare const DEFAULT_CONTRAST_CONFIG: ResolvedContrastConfig; export declare const CONTRAST_LEVELS: readonly ContrastLevel[]; export declare const CONTRAST_MODES: readonly ContrastMode[]; export declare function resolveContrastReversedTextConfig(partial?: ContrastReversedTextConfig): ResolvedContrastReversedTextConfig; /** A colour of an allow entry as `#rrggbb` (or `#rrggbbaa`) in lower * case: `#` added, a short form spelled out. Undefined for no hex. */ export declare function normalContrastHex(color: unknown): string | undefined; /** The allow entries that match something (#1124): colours that are no * hex and entries that give no colour or style are dropped. */ export declare function resolveContrastAllow(allow: unknown): ContrastAllowEntry[]; /** A level or a mode written otherwise reads as the default * (`collectConfigWarnings` reports it). */ export declare function resolveContrastConfig(partial?: ContrastConfig): ResolvedContrastConfig; export declare function stripContrastDefaults(cfg?: ContrastConfig): ContrastConfig | undefined; //# sourceMappingURL=contrast.d.ts.map