UNPKG

@dderevjanik/termux-api

Version:

This library allows you to interact with your Android device from Node.js using termux-api

35 lines (34 loc) 812 B
/** * Represents the TTS (Text-to-Speech) engine information. */ export interface TTSEngine { /** * The name of the TTS engine. * @example "com.google.android.tts" */ name: string; /** * The label of the TTS engine. * @example "Speech Recognition and Synthesis from Google" */ label: string; /** * Indicates if this is the default TTS engine. * @example true */ default: boolean; } /** * Represents the TTS engines information. */ export interface TTSEnginesInfo { /** * List of TTS engines. */ engines: TTSEngine[]; } /** * Get information about the available text-to-speech (TTS) engines. * The name of an engine may be given to the termux-tts-speak */ export declare function ttsEngines(): Promise<TTSEnginesInfo>;