import * as React from 'react'; import * as PropTypes from 'prop-types'; export interface LocaleReceiverProps { componentName?: string; defaultLocale?: object | Function; children: (locale: object, localeCode?: string) => React.ReactElement; } interface LocaleInterface { [key: string]: any; } export interface LocaleReceiverContext { antLocale?: LocaleInterface; } export default class LocaleReceiver extends React.Component { static defaultProps: { componentName: string; }; static contextTypes: { antLocale: PropTypes.Requireable; }; context: LocaleReceiverContext; getLocale(): any; getLocaleCode(): any; render(): React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; } export {};