next-i18next
Version:
The easiest way to translate your NextJs apps.
9 lines (8 loc) • 559 B
text/typescript
import { SSRConfig, UserConfig } from "./types.mjs";
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.mts.map