UNPKG

echogarden

Version:

An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.

3 lines (2 loc) 190 B
import { TranslationPair } from "../api/TextTranslation.js"; export declare function translateText(text: string, sourceLanguage: string, targetLanguage: string): Promise<TranslationPair[]>;