/**
 * Color utility functions for ColorPicker component
 * Handles conversion between HEX, RGB, HSL, and HSV color formats
 */
export interface RGB {
    r: number;
    g: number;
    b: number;
}
export interface RGBA extends RGB {
    a: number;
}
export interface HSL {
    h: number;
    s: number;
    l: number;
}
export interface HSLA extends HSL {
    a: number;
}
export interface HSV {
    h: number;
    s: number;
    v: number;
}
export interface HSVA extends HSV {
    a: number;
}
/**
 * Convert HEX color to RGB
 * @param hex - Hex color string (e.g., "#FF5733" or "FF5733")
 * @returns RGB object
 */
export declare const hexToRgb: (hex: string) => RGB | null;
/**
 * Convert RGB to HEX color
 * @param r - Red (0-255)
 * @param g - Green (0-255)
 * @param b - Blue (0-255)
 * @returns Hex color string with # prefix
 */
export declare const rgbToHex: (r: number, g: number, b: number) => string;
/**
 * Convert RGB to HSL
 * @param r - Red (0-255)
 * @param g - Green (0-255)
 * @param b - Blue (0-255)
 * @returns HSL object
 */
export declare const rgbToHsl: (r: number, g: number, b: number) => HSL;
/**
 * Convert HSL to RGB
 * @param h - Hue (0-360)
 * @param s - Saturation (0-100)
 * @param l - Lightness (0-100)
 * @returns RGB object
 */
export declare const hslToRgb: (h: number, s: number, l: number) => RGB;
/**
 * Convert RGB to HSV
 * @param r - Red (0-255)
 * @param g - Green (0-255)
 * @param b - Blue (0-255)
 * @returns HSV object
 */
export declare const rgbToHsv: (r: number, g: number, b: number) => HSV;
/**
 * Convert HSV to RGB
 * @param h - Hue (0-360)
 * @param s - Saturation (0-100)
 * @param v - Value (0-100)
 * @returns RGB object
 */
export declare const hsvToRgb: (h: number, s: number, v: number) => RGB;
/**
 * Validate hex color format
 * @param hex - Hex color string
 * @returns True if valid hex format
 */
export declare const validateHex: (hex: string) => boolean;
/**
 * Validate RGB color values
 * @param r - Red (0-255)
 * @param g - Green (0-255)
 * @param b - Blue (0-255)
 * @returns True if all values are valid
 */
export declare const validateRgb: (r: number, g: number, b: number) => boolean;
/**
 * Parse color string to HSLA
 * Supports hex, rgb, rgba, hsl, hsla formats
 * @param value - Color string in various formats
 * @returns HSLA object or null if invalid
 */
export declare const parseColor: (value: string) => HSLA | null;
/**
 * Format HSLA to hex string
 * @param h - Hue (0-360)
 * @param s - Saturation (0-100)
 * @param l - Lightness (0-100)
 * @returns Hex color string
 */
export declare const formatHex: (h: number, s: number, l: number) => string;
/**
 * Format HSLA to RGB string
 * @param h - Hue (0-360)
 * @param s - Saturation (0-100)
 * @param l - Lightness (0-100)
 * @param a - Alpha (0-1)
 * @returns RGB/RGBA string
 */
export declare const formatRgb: (h: number, s: number, l: number, a?: number) => string;
/**
 * Format HSLA to HSL string
 * @param h - Hue (0-360)
 * @param s - Saturation (0-100)
 * @param l - Lightness (0-100)
 * @param a - Alpha (0-1)
 * @returns HSL/HSLA string
 */
export declare const formatHsl: (h: number, s: number, l: number, a?: number) => string;
