import * as PropTypes from 'prop-types'; import * as React from 'react'; interface LocaleInterface { [key: string]: any; } export interface LocaleReceiverContext { antLocale?: LocaleInterface; } export interface ConfigConsumerProps { locale?: LocaleInterface; pagePoint?: boolean; } export interface ConfigProviderProps { children?: React.ReactNode; locale?: LocaleInterface; pagePoint?: boolean; } export declare const ConfigContext: React.Context; export declare const ConfigConsumer: React.Consumer; declare class ConfigProvider extends React.Component { static contextTypes: { antLocale: PropTypes.Requireable; }; renderProvider: (context: ConfigConsumerProps, { antLocale }: LocaleReceiverContext) => JSX.Element; render(): JSX.Element; } export default ConfigProvider;