/** * @deprecated * 计算基础颜色(色系) * * 示例: [black, blackOpacity80, tiffany, tiffanyMask, yellow, dirtyYellow, dirtyYellowDark1] => [black, tiffany, yellow] * * 原理: 当从一个颜色(A)衍生出一个色系时,色系内的颜色,命名是都包含字符串 A * 因为我们的颜色数量比较少,可以近似认为 A 中不包含其他颜色的字符串 * 比如 dirtyYellow 属于 yellow 衍生出来的颜色 * * @param colors * @returns */ export declare const getBasicColors: (colors: string[]) => string[]; /** * 为 src/color.stories.mdx 计算 的 props * 根据 COLORS 自动生成 示例颜色 并按照色系(basicColors)分组 * 对于没有被正确划分颜色的色系 会放到 'Other Color' 中显示 这属于数据保护 */ export declare const getColorStoriesConfig: () => { title: string; subtitle: string; colors: string[]; }[];