import React from 'react'; import { SizeType } from './SizeContext'; export interface CSPConfig { nonce?: string; } export interface ConfigConsumerProps { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement; rootPrefixCls?: string; iconPrefixCls?: string; getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; csp?: CSPConfig; autoInsertSpaceInButton?: boolean; input?: { autoComplete?: string; }; pageHeader?: { ghost: boolean; }; space?: { size?: SizeType | number; }; virtual?: boolean; dropdownMathchSelectWidth?: boolean; } export declare const ConfigContext: React.Context; export declare const ConfigConsumer: React.Consumer;