import { type SpeechEndEvent, type SpeechErrorEvent, type SpeechEvents, type SpeechRecognizedEvent, type SpeechResultsEvent, type SpeechStartEvent, type SpeechVolumeChangeEvent, type TranscriptionEndEvent, type TranscriptionErrorEvent, type TranscriptionEvents, type TranscriptionResultsEvent, type TranscriptionStartEvent } from './VoiceModuleTypes'; declare class RCTVoice { _loaded: boolean; _listeners: any[] | null; _events: Required & Required; constructor(); removeAllListeners(): void; destroy(): Promise; destroyTranscription(): Promise; start(locale: any, options?: {}): Promise; startTranscription(url: any, locale: any, options?: {}): Promise; stop(): Promise; stopTranscription(): Promise; cancel(): Promise; cancelTranscription(): Promise; isAvailable(): Promise<0 | 1>; /** * (Android) Get a list of the speech recognition engines available on the device * */ getSpeechRecognitionServices(): any; isRecognizing(): Promise<0 | 1>; set onSpeechStart(fn: (e: SpeechStartEvent) => void); set onTranscriptionStart(fn: (e: TranscriptionStartEvent) => void); set onSpeechRecognized(fn: (e: SpeechRecognizedEvent) => void); set onSpeechEnd(fn: (e: SpeechEndEvent) => void); set onTranscriptionEnd(fn: (e: SpeechEndEvent) => void); set onSpeechError(fn: (e: SpeechErrorEvent) => void); set onTranscriptionError(fn: (e: TranscriptionErrorEvent) => void); set onSpeechResults(fn: (e: SpeechResultsEvent) => void); set onTranscriptionResults(fn: (e: TranscriptionResultsEvent) => void); set onSpeechPartialResults(fn: (e: SpeechResultsEvent) => void); set onSpeechVolumeChanged(fn: (e: SpeechVolumeChangeEvent) => void); } export type { SpeechEndEvent, SpeechErrorEvent, SpeechEvents, SpeechRecognizedEvent, SpeechResultsEvent, SpeechStartEvent, SpeechVolumeChangeEvent, TranscriptionEndEvent, TranscriptionErrorEvent, TranscriptionEvents, TranscriptionResultsEvent, TranscriptionStartEvent, }; declare const _default: RCTVoice; export default _default; //# sourceMappingURL=index.d.ts.map