UNPKG

next-translations

Version:
20 lines (19 loc) 589 B
import type { T_PageTranslations } from "./hooks"; declare const allTranslationsLanguages: string[]; declare function getTranslationsProps(ctx: any, ns?: string[]): Promise<{ translations?: T_PageTranslations | undefined; }>; declare const getPaths: (filterDefaultLocale?: boolean) => { params: { locale: string; }; }[]; declare const getStaticPaths: () => { fallback: boolean; paths: { params: { locale: string; }; }[]; }; export { allTranslationsLanguages, getTranslationsProps, getPaths, getStaticPaths, };