/**
 * Converts a valid RGB, RGBA, HSL, or HSLA color string to a hex color string.
 * @param {string} value - The color string to convert.
 * @returns {string} Returns the hex color string if conversion succeeds, otherwise an empty string.
 */
export declare function toHex(value: string): string;
