import { Vector4 } from "../type_definitions/array_type_definitions.js"; export declare enum ColorModel { RGB = 0, HSV = 1 } /** `rgb` is in the `[0, 1]` space, alpha is not changed */ export declare function rgbToHSV(rgb: Readonly): T; export declare function rgbToHSV(rgb: Readonly, out: T): T; /** alpha is not changed */ export declare function hsvToRGB(hsv: Readonly): T; export declare function hsvToRGB(hsv: Readonly, out: T): T; export declare function colorNormalizedToInt(color: Readonly): T; export declare function colorNormalizedToInt(color: Readonly, out: T): T; export declare function colorIntToNormalized(color: Readonly): T; export declare function colorIntToNormalized(color: Readonly, out: T): T; export declare const ColorUtils: { readonly rgbToHSV: typeof rgbToHSV; readonly hsvToRGB: typeof hsvToRGB; readonly colorNormalizedToInt: typeof colorNormalizedToInt; readonly colorIntToNormalized: typeof colorIntToNormalized; };