/**
 * @license chowa v1.1.3
 *
 * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
export interface Alapha {
    a: number;
}
export interface HSL extends Alapha {
    h: number;
    s: number;
    l: number;
}
export interface HSB extends Alapha {
    h: number;
    s: number;
    b: number;
}
export interface RGB extends Alapha {
    r: number;
    g: number;
    b: number;
}
export declare function rgbToHsb(rgb: RGB): HSB;
export declare function hsbToRgb(hsb: HSB): RGB;
export declare function rgbToHsl(rgb: RGB): HSL;
export declare function isHexColor(unknown: any): boolean;
export declare function strHexToRgb(str: string): RGB;
export declare function isRgbColor(unknown: any): boolean;
export declare function strRgbToRgb(str: string): RGB;
export declare function isHslColor(unknown: any): boolean;
export declare function strHslToHsl(str: string): HSL;
export declare function hslToHsb(hsl: HSL): HSB;
export declare function hsbToHsl(hsb: HSB): HSL;
export declare function rgbToHex(rgb: RGB): string;
export declare function anyToHsb(unknown: any): HSB;
export declare function isStrColor(unknown: any): boolean;
export declare function toStrRgb(hsb: HSB, alpha?: boolean): string;
export declare function toStrHex(hsb: HSB): string;
export declare function toStrHsl(hsb: HSB, alpha?: boolean): string;
