/** @license MIT | @cube-dev/ui-kit v0.147.0 | Cube Dev Team */
import { LOCALE_LABELS, SUPPORTED_LOCALES, isSupportedLocale } from "./locales.js";
import { UIKIT_I18N_NAMESPACE, createUIKitI18n, getI18n } from "./instance.js";
import { useI18n } from "./useI18n.js";
import { I18nProvider } from "./I18nProvider.js";
import { createFormatter } from "./createFormatter.js";
import { useFormatter } from "./useFormatter.js";

//#region src/i18n/index.ts
/**
* Register (or override) the UI Kit translation bundle for a locale. Use this
* to add languages beyond the ones the UI Kit ships, or to override individual
* strings. Applied to the shared instance so it takes effect immediately.
*/
function addUIKitLocale(locale, resources) {
	getI18n().addResourceBundle(locale, UIKIT_I18N_NAMESPACE, resources, true, true);
}

//#endregion
export { addUIKitLocale };
//# sourceMappingURL=index.js.map