import React, { ReactNode } from 'react'; import { VoiceToTextOptions, SpeechRecognitionConfig, SpeechRecognitionResult, BrowserSupport } from '../types'; interface VoiceToTextContextType { 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; } interface VoiceToTextProviderProps { children: ReactNode; options?: VoiceToTextOptions; onResult?: (result: SpeechRecognitionResult) => void; onError?: (error: string) => void; onStart?: () => void; onStop?: () => void; } export declare const VoiceToTextProvider: React.FC; export declare const useVoiceToTextContext: () => VoiceToTextContextType; export {}; //# sourceMappingURL=VoiceToTextProvider.d.ts.map