import { Serializable } from '../common/interfaces.js'; export declare class Color implements Serializable { hexValue: string; rgbaValue: Uint8ClampedArray | number[]; rgbaString: string; rgbaCSSString: string; private constructor(); isEqual(color: Color): boolean; static Random(): Color; static hexToRGBA(hex: string): Uint8ClampedArray; private static _componentToHex; static rgbaToHex(rgba: number[] | Uint8ClampedArray): string; static rgbaToString(rgba: Uint8ClampedArray | number[]): string; static rgbaToCSSString(rgba: Uint8ClampedArray | number[]): string; static scale(colors: Color[] | Uint8ClampedArray | string[] | number[][]): (t: number) => string; serialize(): SerializedColor; static create(data: SerializedColor): Color; } export type SerializedColor = number[] | string;