import { SpeechRecognitionConfig, SpeechRecognitionResult, VoiceToTextOptions, BrowserSupport } from '../types'; interface UseVoiceToTextOptions extends VoiceToTextOptions { onResult?: (result: SpeechRecognitionResult) => void; onError?: (error: string) => void; onStart?: () => void; onStop?: () => void; } interface UseVoiceToTextReturn { isInitialized: boolean; isRecording: boolean; isProcessing: boolean; results: SpeechRecognitionResult[]; error: string | null; browserSupport: BrowserSupport | null; startRecording: (options?: Partial) => Promise; stopRecording: () => Promise; clearResults: () => void; clearError: () => void; updateConfig: (config: Partial) => void; getConfig: () => VoiceToTextOptions; } export declare const useVoiceToText: (options?: UseVoiceToTextOptions) => UseVoiceToTextReturn; export {}; //# sourceMappingURL=useVoiceToText.d.ts.map