UNPKG

ntms

Version:

A dead simple way to add i18n to your Next.js app using the Notion API and Deepl

9 lines (8 loc) 295 B
import { page_id, RichText } from "./types"; interface SaveTranslationsOptions { id: page_id; newRichText: RichText[]; locale: string; } declare const saveTranslations: ({ id, newRichText, locale, }: SaveTranslationsOptions) => Promise<any>; export default saveTranslations;