/** * An object representing `rgba` color. * @typedef RGBColor * @property type * @property r * @property g * @property b * @property a */ type RGBColor = { type: 'rgba'; r: number; g: number; b: number; a: number; }; /** * An object representing `hsla` color. * @typedef HSLColor * @property type * @property h * @property s * @property l * @property a */ type HSLColor = { type: 'hsla'; h: number; s: number; l: number; a: number; }; /** * * @param color * @returns {RGBColor|HSLColor} */ export declare function parseColor(color: string | null): RGBColor | HSLColor | null; /** * * @param color * @returns {RGBColor} */ export declare function parseHexColor(color: string | null): RGBColor | null; /** * * @param color * @returns {RGBColor} */ export declare function parseRgbColor(color: string | null): RGBColor | null; /** * * @param color * @returns {HSLColor} */ export declare function parseHslColor(color: string | null): HSLColor | null; export {}; //# sourceMappingURL=parseColor.d.ts.map