/** antd Tag 语义档名。 */ export type SemanticPreset = 'default' | 'processing' | 'success' | 'warning' | 'error'; /** 语义档名 → 表格文字色(白底实测 ≥4.5:1)。 */ export declare const semanticTextColors: Record; /** * 把任意 valueEnum.color 收成表格可用的 CSS 色。 * * @param color 枚举项上的 color(语义档、预设名、hex 或缺省) * @param background 单元格底色(hex);不传按白底。深色底提亮、浅色底压暗 */ export declare const toGridTextColor: (color?: string, background?: string) => string; /** 把枚举转成 `valueEnum` 可用的副本(color 一定是当前底色可读的 CSS 色值),不修改源数组。 */ export declare const gridValueEnum: (items: readonly T[], background?: string) => (T & { color: string; })[];