import type { Palette, PaletteMeta } from '../common/interface/theme';
/**
 * 智能反色使用
 * @param color
 */
export declare const shouldReverseFontColor: (color: string) => boolean;
/**
 * @param backgroundColor
 * @param fontColor
 */
export declare const isReadableText: (backgroundColor: string, fontColor: string) => boolean;
/**
 * 生成 s2 设计规范下的标准色（共 11 个）
 *
 * - 第 1~5 为主题色加白
 * - 第 6 为主题色
 * - 第 7~11 为主题色加黑
 *
 * @param brandColor 主题色
 * @returns 标准色卡
 */
export declare const generateStandardColors: (brandColor: string) => string[];
/**
 * 根据 S2 内置色板及自选主题色生成新色板
 * @param paletteMeta @PaletteMeta
 * @returns 新色板
 */
export declare const generatePalette: (paletteMeta?: PaletteMeta) => Palette;
