import { ConfigProviderProps } from 'antd'; export default function generateThemeByToken( /** * @description 输入自定义 token,包含颜色、尺寸等主题变量。这些令牌会被合并到 Ant Design 的主题配置中,覆盖默认样式 * @descriptionEn custom token, including color, size, etc. theme variables. These tokens will be merged into the theme configuration of Ant Design, overriding the default style * @returns ConfigProviderProps */ token: { [key: string]: string | number | boolean; }, darkMode?: boolean): Partial;