import * as React from 'react'; import { ConfigConsumer, ConfigContext } from './context'; import SizeContext from './SizeContext'; import DisabledContext from './DisabledContext'; import { registerTheme } from './cssVariables'; import type { ConfigProviderProps } from './iProvider'; import { Locale } from '../../wui-locale/src/iLocale'; export { ConfigContext, ConfigConsumer, }; export declare const defaultPrefixCls: string; declare const setGlobalConfig: (params: ConfigProviderProps) => void; export declare const globalConfig: () => { getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string; getRootPrefixCls: (rootPrefixCls: string, customizePrefixCls?: string) => string; getGlobalLocale: () => Locale; }; declare const ConfigProvider: React.FC & { ConfigContext: typeof ConfigContext; SizeContext: typeof SizeContext; DisabledContext: typeof DisabledContext; config: typeof setGlobalConfig; registerTheme: typeof registerTheme; }; export default ConfigProvider;