declare type HslModelKey = 'h' | 's' | 'l' | 'a' | 'sp' | 'lp' | 'ap'; declare type HsvModelKey = 'h' | 's' | 'v' | 'a' | 'sp' | 'vp' | 'ap'; export interface IColorOffset { hsl?: { [p in HslModelKey]?: number; }; hsv?: { [p in HsvModelKey]?: number; }; } interface IThemeData { [colorName: string]: string; } export interface IColorDef { colorName?: string; color?: string; } export declare type IEffect = 'hsl' | 'hsv' | 'strong' | 'soft' | 'light' | 'contrast'; /** * 自定义主题生成工具类 * 提供生成主题色数据、更新颜色、填补空缺颜色等功能。 */ export declare class CustomThemeUtils { /** * 生成主题色数据 */ static genThemeData(colorChanges: Array, isDark?: boolean, effect?: IEffect, options?: { colorHierarchy: any; themeDataLight: IThemeData; themeDataDark: IThemeData; }): IThemeData; private static genColorPattern; private static getThemeOffset; private static getColorOffset; private static updateColor; private static fillEmptyColor; private static getColorEffectOffset; private static pattern2ThemeData; private static getColorValue; private static getHexOrRgba; private static minmax; } export {};