import { NgZone } from '@angular/core'; import { Platform } from '@ionic/angular'; import * as i0 from "@angular/core"; export interface IResultEvent { result: any; } export interface ISubscriber { id: string; subscriber: any; } export declare class SpeechToText { private platform; private ngZone; private recognizerSubject; private recognizerSubscribes; private downloadSubscriber; private downloadSubject; private syntSubscribes; private synthSubject; private nativeCallSubscribes; private nativeCallSubject; constructor(platform: Platform, ngZone: NgZone); download(locale: string): Promise; getDownloadedLanguages(): Promise; getAvailableLanguages(): Promise; enableRecognizer(locale?: string): Promise; startRecognizer(): Promise; stopRecognizer(): Promise; isPlaying(): Promise; isEnable(): Promise; synthText(text: string, flush?: boolean): Promise; getSynthVoices(): Promise; setSynthVolume(vol: number): Promise; setSynthVoice(name: string): Promise; playSound(path: string, volume: number): Promise; initAudioCapture(): Promise; stopAudioCapture(): Promise; subscrbeToRecognizer(id: string, callbackFunction: any, errorFunction: any): void; unsubscribeToRecognizer(id: string): Promise; subscrbeToSyntesizer(id: string, callbackFunction: any, errorFunction: any): void; unsubscribeToSyntesizer(id: string): Promise; subscrbeToDownload(id: string, callbackFunction: any, errorFunction: any): Promise; unsubscribeToDownload(id: string): Promise; subscrbeToNativeCall(id: string, callbackFunction: any, errorFunction: any): void; unsubscribeToNativeCall(id: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }