import React from 'react'; import type { Theme } from '@ant-design/cssinjs'; import type { AliasToken, MapToken, OverrideToken, SeedToken } from './interface'; export declare const defaultTheme: Theme; export declare const defaultConfig: { token: SeedToken; override: { override: SeedToken; }; hashed: boolean; }; export type ComponentsToken = { [key in keyof OverrideToken]?: OverrideToken[key] & { theme?: Theme; }; }; export interface DesignTokenProviderProps { token: Partial; theme?: Theme; components?: ComponentsToken; /** Just merge `token` & `override` at top to save perf */ override: { override: Partial; } & ComponentsToken; hashed?: string | boolean; cssVar?: { prefix?: string; key?: string; }; } export declare const DesignTokenContext: React.Context;