import React from 'react'; import { Locale } from '../bee-locale'; import { RenderEmptyHandler } from './renderEmpty'; import { ConfigConsumer, ConfigContext, CSPConfig, DirectionType, ConfigConsumerProps } from './context'; export { RenderEmptyHandler, ConfigContext, ConfigConsumer, CSPConfig, DirectionType, ConfigConsumerProps, }; export interface ConfigProviderProps { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; prefixCls?: string; iconPrefixCls?: string; children?: React.ReactNode; renderEmpty?: RenderEmptyHandler; autoInsertSpaceInButton?: boolean; input?: { autoComplete?: string; }; locale?: Locale; pageHeader?: { ghost: boolean; }; virtual?: boolean; dropdownMatchSelectWidth?: boolean; } export declare const defaultPrefixCls = "bee"; declare const setGlobalConfig: (params: Pick) => void; export declare const globalConfig: () => { getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; getRootPrefixCls: (rootPrefixCls?: string, customizePrefixCls?: string) => string; }; declare const ConfigProvider: React.FC & { ConfigContext: typeof ConfigContext; config: typeof setGlobalConfig; }; export default ConfigProvider;