UNPKG

2.46 kBTypeScriptView Raw
1export declare const ConfigProvider: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 tag: {
3 type: import("vue").PropType<keyof HTMLElementTagNameMap>;
4 default: keyof HTMLElementTagNameMap;
5 };
6 theme: {
7 type: import("vue").PropType<import("./ConfigProvider").ConfigProviderTheme>;
8 default: import("./ConfigProvider").ConfigProviderTheme;
9 };
10 zIndex: NumberConstructor;
11 themeVars: import("./ConfigProvider").ThemeVars;
12 themeVarsDark: import("./ConfigProvider").ThemeVars;
13 themeVarsLight: import("./ConfigProvider").ThemeVars;
14 themeVarsScope: {
15 type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
16 default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
17 };
18 iconPrefix: StringConstructor;
19}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20 tag: {
21 type: import("vue").PropType<keyof HTMLElementTagNameMap>;
22 default: keyof HTMLElementTagNameMap;
23 };
24 theme: {
25 type: import("vue").PropType<import("./ConfigProvider").ConfigProviderTheme>;
26 default: import("./ConfigProvider").ConfigProviderTheme;
27 };
28 zIndex: NumberConstructor;
29 themeVars: import("./ConfigProvider").ThemeVars;
30 themeVarsDark: import("./ConfigProvider").ThemeVars;
31 themeVarsLight: import("./ConfigProvider").ThemeVars;
32 themeVarsScope: {
33 type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
34 default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
35 };
36 iconPrefix: StringConstructor;
37}>> & Readonly<{}>, {
38 tag: keyof HTMLElementTagNameMap;
39 theme: import("./ConfigProvider").ConfigProviderTheme;
40 themeVarsScope: import("./ConfigProvider").ConfigProviderThemeVarsScope;
41}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
42export default ConfigProvider;
43export { configProviderProps } from './ConfigProvider';
44export type { ConfigProviderProps, ConfigProviderTheme, ConfigProviderThemeVarsScope, } from './ConfigProvider';
45export type { ConfigProviderThemeVars } from './types';
46declare module 'vue' {
47 interface GlobalComponents {
48 VanConfigProvider: typeof ConfigProvider;
49 }
50}