import type { ColorArray } from './index.js'; /** ColorDefinition - [encoding, colors] */ export type ColorDefinition = [encoding: string, colors: ColorArray]; /** * There are four types of strings to parse: * - color names: 'red', 'black', etc * - Hex: #ededed * - lastly type encodings: * - * rgb(255, 255, 255) * - * rgba(255, 255, 255, 255) * - * hsv(180, 0.9, 0.7843137254901961) * - * hsva(180, 0.9, 0.7843137254901961, 1) * @param input - the string to parse * @returns the parsed color */ export declare function colorParser(input: string): ColorDefinition;