import * as React from 'react'; import { RenderEmptyHandler } from './renderEmpty'; import { Locale } from '../locale-provider'; export interface CSPConfig { nonce?: string; } export interface ConfigConsumerProps { getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; rootPrefixCls?: string; getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string; renderEmpty: RenderEmptyHandler; csp?: CSPConfig; autoInsertSpaceInButton?: boolean; locale?: Locale; pageHeader?: { ghost: boolean; }; } export declare const ConfigContext: import("@ant-design/create-react-context").Context; export declare const ConfigConsumer: React.ComponentClass, any>; declare type IReactComponent

= React.StatelessComponent

| React.ComponentClass

| React.ClassicComponentClass

; interface BasicExportProps { prefixCls?: string; } interface ConsumerConfig { prefixCls: string; } export declare function withConfigConsumer(config: ConsumerConfig): (Component: IReactComponent) => React.SFC & ComponentDef; export {};