import { HSLAColor, HSLColor, RGBAColor, RGBColor } from "../models.mjs"; //#region src/color/space/hex.d.ts /** * Get the normalized hex color from a value * * _If the value is unable to be parsed or normalized, a hex color of `000000` will be returned, with the alpha channel _(opacity)_ value `0` included, if specified_ * * @param value Value to normalize * @param alpha Include alpha channel _(opacity)_? _(defaults to `false`)_ * @returns Normalized hex color */ declare function getNormalizedHex(value: unknown, alpha?: boolean): string; declare function hexToHsl(value: string): HSLColor; declare function hexToHsla(value: string): HSLAColor; /** * Convert a hex color to an _RGB_ color * * _If the value is unable to be converted, a black RGB color will be returned_ * * @param value Original value * @returns _RGB_ color */ declare function hexToRgb(value: string): RGBColor; /** * Convert a hex color to an _RGBA_ color * * _If the value is unable to be converted, a black RGBA color with an alpha channel (opacity) of `0` will be returned_ * * @param value Original value * @returns _RGBA_ color */ declare function hexToRgba(value: string): RGBAColor; //#endregion export { getNormalizedHex, hexToHsl, hexToHsla, hexToRgb, hexToRgba };