import type { CSSObject } from '../cssinjs'; import type { AliasToken, PresetColorKey } from '../token'; import type { TokenWithCommonCls } from '../token/util/genComponentStyleHook'; interface CalcColor { /** token[`${colorKey}-1`] */ lightColor: string; /** token[`${colorKey}-3`] */ lightBorderColor: string; /** token[`${colorKey}-6`] */ darkColor: string; /** token[`${colorKey}-7`] */ textColor: string; } type GenCSS = (colorKey: PresetColorKey, calcColor: CalcColor) => CSSObject; export declare function genPresetColor>(token: Token, genCss: GenCSS): CSSObject; export {};