@spscommerce/i18n 8.56.23 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,10 @@
1
1
  import { type UseTranslationOptions } from "react-i18next";
2
2
  declare const i18nWoodland: import("i18next").i18n;
3
+ /**
4
+ * Loads Woodland's strings for `lng` into `i18nWoodland`, once. Resolves immediately for en-US,
5
+ * for a language that's already loaded, and for a language Woodland has no translations for
6
+ * (those fall back to en-US). A failed load logs and resolves, leaving en-US in place.
7
+ */
8
+ export declare function loadWoodlandLanguage(lng: string): Promise<void>;
3
9
  export declare function useWoodlandLanguage(options?: UseTranslationOptions): import("react-i18next").UseTranslationResponse<"woodland", undefined>;
4
10
  export { i18nWoodland };