import React, { Component, ReactChild } from 'react';
export interface RenderableValues {
    [key: string]: ReactChild;
}
export declare type Renderable<T> = ReactChild | ((values: T) => ReactChild);
export interface I18nShape {
    mapping?: {
        [key: string]: Renderable<object>;
    };
    mappingFunc?: (value: string) => string;
    formatNumber?: (x: number) => string;
    formatDateTime?: (x: Date) => string;
}
declare const I18nConsumer: React.Consumer<I18nShape>;
declare class Context extends Component<{
    i18n: {};
    children: any;
}> {
    static defaultProps: {
        i18n: {};
    };
    render(): JSX.Element;
}
export { Context, I18nConsumer };
