type ColorMode = "rgb" | "lab"; interface NearbyColorOptions { /** * 返回颜色数量 */ count?: number; /** * 颜色模式 * @default lab */ mode?: ColorMode; } /** * 获取临近色 */ export declare function getNearbyColors(color: string, options?: NearbyColorOptions): { colors: { dis: number; enName: string; zhName: string; hex: string; rgb: string; }[]; }; export declare function getPrimaryColors(filePath: string): Promise; /** * 获取图片颜色 * @param filePath 文件路径 */ export declare function getImageColors(filePath: string, colorCount?: number): Promise<{ colors: { rgb: number[]; hex: any; }[]; }>; export {};