/**
 * RGB to OKHSL Conversion Utility
 *
 * Converts sRGB colors to OKHSL format. This is the reverse of the okhsl-plugin.
 * Used for converting existing RGB color tokens to OKHSL.
 *
 * NOT exported from the main tasty module - for internal/temporary use only.
 */
type Vec3 = [number, number, number];
/**
 * Parse an RGB string like "rgb(R G B)" or "rgb(R, G, B)" where R, G, B are 0-255.
 */
export declare function parseRgbString(rgb: string): Vec3 | null;
/**
 * Convert sRGB values (0-1 range) to OKHSL.
 * Returns [H, S, L] where H is 0-360, S is 0-1, L is 0-1.
 */
export declare function sRGBToOKHSL(rgb: Vec3): Vec3;
/**
 * Convert an RGB string to OKHSL string format.
 * Input: "rgb(R G B)" or "rgb(R, G, B)" where R, G, B are 0-255
 * Output: "okhsl(H S% L%)" where H is degrees, S and L are percentages
 */
export declare function rgbStringToOkhslString(rgb: string, options?: {
    hueDecimals?: number;
    percentDecimals?: number;
}): string | null;
/**
 * Verify conversion by round-tripping: RGB → OKHSL → RGB
 * Returns the difference in RGB values (0-255 scale).
 */
export declare function verifyConversion(rgb: string): {
    original: Vec3;
    okhsl: Vec3;
    roundTrip: Vec3;
    maxDiff: number;
} | null;
export {};
