UNPKG

next-i18next

Version:

The easiest way to translate your NextJs apps.

9 lines (8 loc) 559 B
import { SSRConfig, UserConfig } from "./types.cjs"; import { Namespace } from "i18next"; //#region src/pagesRouter/serverSideTranslations.d.ts type ArrayElementOrSelf<T> = T extends ReadonlyArray<infer U> ? U[] : T[]; declare const serverSideTranslations: (initialLocale: string, namespacesRequired?: ArrayElementOrSelf<Namespace> | string | string[] | undefined, configOverride?: UserConfig | null, extraLocales?: string[] | false) => Promise<SSRConfig>; //#endregion export { serverSideTranslations }; //# sourceMappingURL=serverSideTranslations.d.cts.map