import { type AbstractDictionary, type DictionaryLang } from './dictionary'; /** * Based on the locale passed as a paremeter, this function will return * the corresponding dictionary. * * @param {string} lang the lang of the user * @param {any} dict */ declare function createDictionary(lang: DictionaryLang, dict: AbstractDictionary): Record, string>; export default createDictionary; /** * This function will return only the lang part of a locale * For example, with fr-FR, will return fr * If the lang is not fr, will return en * @param {string} lang the lang of the user */ export declare const supportedLanguages: DictionaryLang[]; /** * Return the current lang based of the settings of the browser * * @param {String=} defaultLang * @returns {String} */ export declare const getLang: () => DictionaryLang;