import type { Oklch } from 'culori'; /** * Parse an OKLCH color string into an Oklch object. * @param oklch - The OKLCH color string in format "oklch(l c h [/ a])" (e.g. "oklch(0.5 0.2 180 / 0.3)") * @returns The Oklch object */ export declare function parseOklch(color: string): Oklch; /** * Format an Oklch object into a canonical OKLCH string with consistent precision. * @param oklch - The Oklch object * @returns The OKLCH color string in format "oklch(l c h [/ a])" with 3 decimal places */ export declare function formatOklch(oklch: Oklch): string; /** * Normalize an OKLCH color string to canonical format (3 decimal places). * @param oklch - The OKLCH color string to normalize * @returns The normalized OKLCH color string */ export declare function normalizeOklch(oklch: string): string; /** * Convert an OKLCH color string to a hex color. * @param oklch - The OKLCH color string in format "l c h" (e.g. "0.5 0.2 180") * @returns The hex color string */ export declare function convertOklchToHex(oklch: string | Oklch): string; /** * Convert a hex color to an OKLCH color string. * @param hex - The hex color string * @returns The OKLCH color string in format "oklch(l c h [/ a])" */ export declare function convertHexToOklch(hex: string): string; //# sourceMappingURL=color-conversions.d.ts.map