import { HslaColor, HslColor } from '../../meta/color'; /** * Returns an HslColor or HslaColor object. This utility function is only useful * if want to extract a color component. With the color util `toColorString` you * can convert a HslColor or HslaColor object back to a string. * * @example * // Assigns `{ red: 255, green: 0, blue: 0 }` to color1 * const color1 = 'rgb(255, 0, 0)'; * // Assigns `{ red: 92, green: 102, blue: 112, alpha: 0.75 }` to color2 * const color2 = 'hsla(210, 10%, 40%, 0.75)'; */ export declare function parseToHsl(color: string): HslColor | HslaColor;