/**
 * This file contains the color utilities.
 *
 * @file colorUtils.ts
 * @author Luca Liguori
 * @date 2023-10-05
 * @version 1.3.0
 *
 * Copyright 2023, 2024, 2025 Luca Liguori.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. *
 */
export interface RGB {
    r: number;
    g: number;
    b: number;
}
export interface XY {
    x: number;
    y: number;
}
export interface HSL {
    h: number;
    s: number;
    l: number;
}
export declare function hslColorToRgbColor(hue: number, saturation: number, luminance: number): RGB;
export declare function rgbColorToXYColor(rgb: RGB): XY;
export declare function xyColorToRgbColor(x: number, y: number, brightness?: number): RGB;
export declare function rgbColorToHslColor(rgb: RGB): HSL;
export declare function xyToHsl(x: number, y: number): HSL;
export declare function miredToKelvin(mired: number): number;
export declare function kelvinToMired(kelvin: number): number;
export declare function kelvinToRGB(kelvin: number): RGB;
/**
 * Converts CIE color space to RGB color space
 * @param {Number} x
 * @param {Number} y
 * @param {Number} brightness - Ranges from 1 to 254
 * @return {Array} Array that contains the color values for red, green and blue
 * From: https://github.com/usolved/cie-rgb-converter/blob/master/cie_rgb_converter.js
 */
/**
 * Converts RGB color space to CIE color space
 * @param {Number} red
 * @param {Number} green
 * @param {Number} blue
 * @return {Array} Array that contains the CIE color values for x and y
 * From: https://github.com/usolved/cie-rgb-converter/blob/master/cie_rgb_converter.js
 */
//# sourceMappingURL=colorUtils.d.ts.map