import React from 'react';
import { FormatFunction } from '../context';
interface I18nFormatterInterface {
    format: FormatFunction;
}
export interface RemoteI18nProviderProps {
    /**
     * A format function, loaded dynamically from the result of this callback. If
     * the callback returns null, it means that the provider isn't available for
     * whatever reason, and nothing happens.
     */
    loadFormatter: (args: {
        locale: string;
    }) => Promise<I18nFormatterInterface | null>;
    children: React.ReactNode;
}
/**
 * A lightweight implementation of the I18nProvider context wrapper that expects both the
 * messages and the formatting logic to be provided from a remote source. Explicitly does
 * nothing if it's wrapped by a LocalI18nProvider.
 */
export default function RemoteI18nProvider({ loadFormatter, children }: RemoteI18nProviderProps): JSX.Element;
export {};
//# sourceMappingURL=remote-provider.d.ts.map