import type { ConfigProviderProps as AntdConfigProviderProps, configConsumerProps } from 'antd/es/config-provider/index'; import { RenderEmptyHandler } from './renderEmpty'; import { ConfigConsumer, ConfigContext, CSPConfig, DirectionType, ConfigConsumerProps, Theme } from './context'; import { defaultAnimationConfig } from './AnimationContext'; import type { AnimationConfig } from './AnimationContext'; export { ConfigContext, ConfigConsumer }; export type { configConsumerProps, RenderEmptyHandler, CSPConfig, DirectionType, ConfigConsumerProps, AnimationConfig }; import 'moment/dist/locale/zh-cn'; export interface ConfigProviderProps extends AntdConfigProviderProps { animation?: AnimationConfig; } export declare const defaultPrefixCls = "b-design"; export declare const defaultIconPrefixCls = "b-design-icon"; export { defaultAnimationConfig }; declare function getGlobalIconPrefixCls(): string; declare function getGlobalAnimation(): AnimationConfig; export declare const globalConfig: () => { getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; getIconPrefixCls: typeof getGlobalIconPrefixCls; getRootPrefixCls: (rootPrefixCls?: string, customizePrefixCls?: string) => string; getAnimation: typeof getGlobalAnimation; }; declare const ConfigProvider: { (props: any): JSX.Element; config: ({ prefixCls, iconPrefixCls, theme, animation }: Pick & { theme?: Theme; }) => void; defaultProps: { prefixCls: string; iconPrefixCls: string; animation: { glassmorphism: boolean; breathing: boolean; }; autoInsertSpaceInButton: boolean; }; }; export declare function withConfigProvider(Component: T): T; export default ConfigProvider;