UNPKG

umbot

Version:

Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber

35 lines (34 loc) 1.28 kB
import { YandexRequest } from './YandexRequest'; export declare class YandexSpeechKit extends YandexRequest { static readonly TTS_API_URL = "https://tts.api.cloud.yandex.net/speech/v1/tts:synthesize"; static readonly E_GOOD = "good"; static readonly E_EVIL = "evil"; static readonly E_NEUTRAL = "neutral"; static readonly V_OKSANA = "oksana"; static readonly V_JANE = "jane"; static readonly V_OMAZH = "omazh"; static readonly V_ZAHAR = "zahar"; static readonly V_ERMIL = "ermil"; static readonly V_SILAERKAN = "silaerkan"; static readonly V_ERKANYAVAS = "erkanyavas"; static readonly V_ALYSS = "alyss"; static readonly V_NICK = "nick"; static readonly V_ALENA = "alena"; static readonly V_FILIPP = "filipp"; static readonly L_RU = "ru-RU"; static readonly L_EN = "en_EN"; static readonly L_TR = "tr-TR"; static readonly F_LPCM = "lpcm"; static readonly F_OGGOPUS = "oggopus"; text: string | undefined; lang: string; voice: string; emotion: string; speed: number; format: string; sampleRateHertz: number | undefined; folderId: number | null; constructor(oauth?: string | null); protected _initPost(): void; getTts(text?: string | null): Promise<any>; }