export type ColorVariants = { light: string; lightText: string; main: string; mainText: string; dark: string; darkText: string; }; export declare let colorVariants: ColorVariants; /** * Generates color variants (light, main, dark) using OKLCH color space. * * @param lightness - The lightness value (0-1). * @param chroma - The chroma value (0-0.3+). * @param hue - The hue angle (0-360). * @returns An object containing the color variants and their accessible text colors. */ export declare function generateOKLCHVariants(lightness: number, chroma: number, hue: number): ColorVariants; /** * Generates color variants from a base color string. * * @param currentColor - The base color (hex, rgb, etc.). * @returns An object containing the color variants and their accessible text colors. */ export declare function generateOKLCHFrom(currentColor: string): ColorVariants; export declare let geryContract: { "50": string; "100": string; "200": string; "300": string; "400": string; "500": string; "600": string; "700": string; "800": string; "900": string; }; /** * Generates a scale of grey colors based on a hue. * * @param hue - The hue to tint the greys with. * @returns An object mapping shade keys (50-900) to OKLCH color strings. */ export declare function generateGreys(hue: number | string): { "50": string; "100": string; "200": string; "300": string; "400": string; "500": string; "600": string; "700": string; "800": string; "900": string; }; interface TextColorOptions { hue?: number; chroma?: number; } /** * Calculates an accessible text color based on a background color using APCA contrast. * It attempts to use the requested Hue and Chroma in OKLCH space. * If the colored text does not meet the minimum contrast threshold, it falls back to Black or White. * * @param backgroundColor - The hex, rgb, or named string of the background. * @param options - Optional target hue (0-360) and chroma (0-0.3+) for the text color. * @returns The hex string of the accessible text color. */ export declare function textColor(backgroundColor: string, options?: TextColorOptions): string; export {};