import * as React from 'react'; import { RenderEmptyHandler } from './renderEmpty'; import { Locale } from '../bee-locale'; export interface CSPConfig { nonce?: string; } export declare type DirectionType = 'ltr' | 'rtl' | undefined; export interface ConfigConsumerProps { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; rootPrefixCls?: string; iconPrefixCls?: string; getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; renderEmpty: RenderEmptyHandler; autoInsertSpaceInButton?: boolean; input?: { autoComplete?: string; }; locale?: Locale; pageHeader?: { ghost: boolean; }; direction?: DirectionType; virtual?: boolean; dropdownMatchSelectWidth?: boolean; } export declare const ConfigContext: React.Context; export declare const ConfigConsumer: React.Consumer; declare type IReactComponent

= React.FC

| React.ComponentClass

| React.ClassicComponentClass

; interface BasicExportProps { prefixCls?: string; } interface ConsumerConfig { prefixCls: string; } /** @deprecated Use hooks instead. This is a legacy function */ export declare function withConfigConsumer(config: ConsumerConfig): (Component: IReactComponent) => React.FC & ComponentDef; export {};