export declare const clamp01: (x: number) => number;
export declare const mod: (a: number, n: number) => number;
export declare const deg: (x: number) => number;
export declare const mix: (a: number, b: number, t: number) => number;
export declare function hexToRgb(hex: string): {
    r: number;
    g: number;
    b: number;
};
export declare function rgbToHex(r: number, g: number, b: number): string;
export declare function srgbToLinear(u: number): number;
export declare function linearToSrgb(x: number): number;
export declare function rgbToHsl(r: number, g: number, b: number): {
    h: number;
    s: number;
    l: number;
};
export declare function srgbToOklab(r: number, g: number, b: number): {
    L: number;
    a: number;
    b: number;
};
export declare function oklabToSrgb(L: number, a: number, b: number): {
    r: number;
    g: number;
    b: number;
};
export declare function oklabToOklch(L: number, a: number, b: number): {
    L: number;
    C: number;
    h: number;
};
export declare function oklchToOklab(L: number, C: number, h: number): {
    L: number;
    a: number;
    b: number;
};
export declare function inSRGB(r: number, g: number, b: number): boolean;
export declare function oklchToHexGamut(L: number, C: number, h: number): string;
export declare function featuresFromHex(hex: string): {
    r: number;
    g: number;
    b: number;
    h: number;
    s: number;
    l: number;
    v: number;
    Y: number;
    chroma: number;
    okL: number;
    okC: number;
    okH: number;
    hex: string;
};
export declare function hueRotate(h: number, degrees: number): number;
export declare function setTone(L: number, target: number): number;
