1 | import type { GlobalToken, MappingAlgorithm } from './interface';
|
2 | import defaultAlgorithm from './themes/default';
|
3 |
|
4 | declare function useToken(): {
|
5 | theme: import("@ant-design/cssinjs").Theme<import("./interface").SeedToken, import("./interface").AliasToken>;
|
6 | token: GlobalToken;
|
7 | hashId: string;
|
8 | };
|
9 | export type { GlobalToken, MappingAlgorithm };
|
10 | declare const _default: {
|
11 |
|
12 | defaultSeed: import("./interface").SeedToken;
|
13 | useToken: typeof useToken;
|
14 | defaultAlgorithm: typeof defaultAlgorithm;
|
15 | darkAlgorithm: import("@ant-design/cssinjs").DerivativeFunc<import("./interface").SeedToken, import("./interface").MapToken>;
|
16 | compactAlgorithm: import("@ant-design/cssinjs").DerivativeFunc<import("./interface").SeedToken, import("./interface").MapToken>;
|
17 | getDesignToken: (config?: import("..").ThemeConfig) => import("./interface").AliasToken;
|
18 | |
19 |
|
20 |
|
21 |
|
22 | defaultConfig: {
|
23 | token: import("./interface").SeedToken;
|
24 | override: {
|
25 | override: import("./interface").SeedToken;
|
26 | };
|
27 | hashed: boolean;
|
28 | };
|
29 | |
30 |
|
31 |
|
32 |
|
33 | _internalContext: import("react").Context<import("./context").DesignTokenProviderProps>;
|
34 | };
|
35 | export default _default;
|