@spscommerce/ds-react 8.53.9 → 8.53.10

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,3 +1,10 @@
1
1
  export declare function getBrowserLocale(): string;
2
2
  export declare function getLocaleUses24HourTime(locale?: string): boolean;
3
3
  export declare function resolveMomentLocale(locale?: string): string;
4
+ /**
5
+ * Matches a language tag (e.g. from an i18n module) to one of the moment
6
+ * locales actually registered above, trying an exact match first, then the
7
+ * base language subtag (e.g. "de-DE" -> "de"). Falls back to "en" for any
8
+ * language we don't ship locale data for.
9
+ */
10
+ export declare function resolveSupportedLocale(language?: string): string;