import * as React from 'react';
import { RenderEmptyHandler } from 'antd/lib/config-provider/renderEmpty';
import { ValidateMessages } from 'rc-field-form/lib/interface';
import { Locale } from 'antd/lib/locale-provider';
import { ConfigConsumer, CSPConfig, ConfigConsumerProps } from 'antd/lib/config-provider/context';
export { ConfigConsumer };
export declare const configConsumerProps: string[];
export interface ConfigConsumerEProps extends ConfigConsumerProps {
    pagePoint?: boolean;
}
export interface ConfigProviderProps {
    getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
    prefixCls?: string;
    children?: React.ReactNode;
    renderEmpty?: RenderEmptyHandler;
    csp?: CSPConfig;
    autoInsertSpaceInButton?: boolean;
    locale?: Locale;
    form?: {
        validateMessages?: ValidateMessages;
    };
    pageHeader?: {
        ghost: boolean;
    };
    pagePoint?: boolean;
}
declare class ConfigProvider extends React.Component<ConfigProviderProps> {
    getPrefixCls: (suffixCls: string, customizePrefixCls?: string | undefined) => string;
    renderProvider: (context: ConfigConsumerEProps, legacyLocale: Locale) => JSX.Element;
    render(): JSX.Element;
}
export default ConfigProvider;
