import { LanguageCallback } from "../types"; /** * Utility that gets a list of language tag preferences based on the widget properties * and browser settings. * * NOTE: The language tag and language are related but not necessarilty the same. * The language tag specifies the language and region, and may be used for formatting dates * and currency, while the language is just the language code used for translations. * * @see https://en.wikipedia.org/wiki/IETF_language_tag * * @param {string | LanguageCallback | undefined} language * @param {string[]} supportedLanguages * @returns {string[]} */ export declare const getLanguageTags: (language: string | LanguageCallback | undefined, supportedLanguages: string[]) => string[]; export declare const loadLanguage: (appState: any, settings: any) => Promise; //# sourceMappingURL=LanguageUtil.d.ts.map