import type { RgbaColor, RgbColor } from '../type'; export declare function parseColor(color: string): RgbaColor | null; export declare const getGlobalThemeColor: (theme: string, level: number) => RgbaColor | null; export declare const getGlobalThemeColorString: (theme: string, level: number) => string; export declare function generatePalette(r: number, g: number, b: number, a?: number, darkMode?: boolean): RgbaColor[]; export declare const rgbaColor2string: (color: RgbaColor) => string; export declare function rgbaEuclideanDistance(color1: RgbaColor, color2: RgbaColor, background?: RgbColor): number;