@forge/api

5.1.15.2.0-next.0
out/api/i18n.d.ts
out/api/i18n.d.ts
+10
Index: package/out/api/i18n.d.ts
===================================================================
--- package/out/api/i18n.d.ts
+++ package/out/api/i18n.d.ts
@@ -0,0 +1,10 @@
+import { type ForgeSupportedLocaleCode, type GetTranslationsOptions, type GetTranslationsResult } from '@forge/i18n';
+export declare const resetTranslationsCache: () => void;
+export declare const getTranslations: (locale: ForgeSupportedLocaleCode, options?: GetTranslationsOptions) => Promise<GetTranslationsResult>;
+export declare type TranslationFunction = (i18nKey: string, defaultValue?: string) => string;
+export declare const createTranslationFunction: (locale: ForgeSupportedLocaleCode) => Promise<TranslationFunction>;
+export declare const i18n: {
+    createTranslationFunction: (locale: ForgeSupportedLocaleCode) => Promise<TranslationFunction>;
+    getTranslations: (locale: ForgeSupportedLocaleCode, options?: GetTranslationsOptions) => Promise<GetTranslationsResult>;
+};
+//# sourceMappingURL=i18n.d.ts.map
\ No newline at end of file