import type { ColorFormat, ColorHsb, ColorRgb, ColorValue } from './types.js'; export declare function clamp(value: number, min: number, max: number): number; export declare function normalizeHex(value: string): string; export declare function hexToRgb(hex: string): ColorRgb; export declare function rgbToHex(rgb: ColorRgb): string; export declare function rgbToHsb(rgb: ColorRgb): ColorHsb; export declare function hsbToRgb(hsb: ColorHsb): ColorRgb; export declare function normalizeHsb(hsb: ColorHsb): ColorHsb; export declare function formatColorValue(hsb: ColorHsb, format: ColorFormat): string | ColorRgb | ColorHsb; export declare function parseColorValue(value: ColorValue | null | undefined, format: ColorFormat, defaultColor: string): ColorHsb; export declare function hsbToCssColor(hsb: ColorHsb): string; export declare function valuesEqual(left: ColorValue | null | undefined, right: ColorValue, format: ColorFormat): boolean; //# sourceMappingURL=color-math.d.ts.map