import { LanguageCode } from '../i18n';
export declare type LangCode = LanguageCode | 'pt-BR' | 'pt-PT';
declare type LocaleMessages = {
    [key: string]: string;
};
/**
 * Tries to get the most specific messages bundle for a given locale.
 *
 * Strategy:
 * 1. Try to find messages with the exact string (i.e. 'fr_FR')
 * 2. If that doesn't work, try to find messages for the country locale (i.e. 'fr')
 * 3. If that doesn't work, return english messages as a fallback.
 *
 * @param locale string specifying the locale like 'en_GB', or 'fr'.
 */
export declare const getMessagesForLocale: (locale: LangCode) => LocaleMessages;
export {};
