import type { RGB, ContrastResult, WCAGLevel } from './types'; export declare function getRelativeLuminance(rgb: RGB): number; export declare function getContrastRatio(color1: string | RGB, color2: string | RGB): number; export declare function meetsWCAG(color1: string | RGB, color2: string | RGB, level?: WCAGLevel): boolean; export declare function analyzeContrast(color1: string | RGB, color2: string | RGB): ContrastResult; export declare function isLargeText(fontSize: string | number, fontWeight: string | number): boolean; export declare function getPerceivedBrightness(rgb: RGB): number; export declare function isLightColor(rgb: RGB): boolean; export declare function getContrastingColor(background: RGB, preferDark?: boolean): RGB; export declare function adjustColorForContrast(color: string | RGB, background: string | RGB, targetRatio?: number, preferLighter?: boolean): RGB; export declare function isReadableOnGlass(textColor: string | RGB, glassColor: RGB, glassOpacity: number, backgroundBehindGlass: RGB, minContrast?: number): boolean; export declare function batchValidate(pairs: Array<{ foreground: string | RGB; background: string | RGB; largeText?: boolean; }>): Array<{ contrast: number; passes: boolean; level: 'AA' | 'AAA' | 'FAIL'; }>; export declare function simulateColorBlindness(rgb: RGB, type: 'protanopia' | 'deuteranopia' | 'tritanopia'): RGB; //# sourceMappingURL=contrast.d.ts.map