export type RGBComponents = { r: number; g: number; b: number; }; export type HSVComponents = { h: number; s: number; v: number; }; export declare const lightenDarkenColor: (hexidecimal: string, changeFraction: number) => string; export declare const rgbToHsv: ({ r, g, b }: RGBComponents) => HSVComponents; export declare const hsvToRgb: ({ h, s, v }: HSVComponents) => RGBComponents; export declare const getColorOnSpectrum: (rgb1: RGBComponents, rgb2: RGBComponents, fraction: number) => RGBComponents; export declare const computeTextColorBasedOnBackground: (bgColor: string, lightColor: string, darkColor: string) => string; export declare const hexToRgbComponents: (hex: string) => RGBComponents; export declare const rgbToHex: ({ r, g, b }: RGBComponents) => string; export declare const hexToRgba: (hex: string, alpha?: number) => string;