UNPKG

ntms

Version:

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

4 lines (3 loc) 208 B
import { RichText, translateParamters } from "./types"; declare const translate: ({ id, rich_text, locale, target_lang, }: translateParamters) => Promise<RichText[] | undefined>; export default translate;