UNPKG

anylang

Version:

A translator's kit that uses the free APIs of Google Translate, Yandex, Bing, ChatGPT, and other LLMs

11 lines (10 loc) 397 B
import { Fetcher } from '../../utils/fetcher/types'; import { TTSAudioBuffer, TTSProviderProps } from '../types'; export declare class GoogleTTS implements TTSProviderProps { private readonly fetcher; constructor({ fetcher }?: { fetcher?: Fetcher; }); getAudioBuffer(text: string, language: string): Promise<TTSAudioBuffer>; static getSupportedLanguages(): string[]; }