/** * Validates a hex color string (3, 4, 6, or 8 digits with optional #). */ export declare const isValidHex: (hex: string) => boolean; /** * Parses a hex color string into RGBA components. * Returns { r: 0, g: 0, b: 0, a: 1 } for invalid inputs. */ export declare const hexToRgb: (hex: string) => { r: number; g: number; b: number; a: number; }; /** * Converts a hex color to an 8-digit hex string (#RRGGBBAA). */ export declare const hexToHex8: (hex: string) => string; /** * Converts a color value to a normalized { hex, rgb } object. * Handles transparency and validity checks. */ export declare const getColor: (colorValue: string, showTransparencyControl: boolean) => { hex: string; rgb: { r: number; g: number; b: number; a: number; }; };