import { type SpeechRecognitionInstance } from '../types';
declare global {
    interface Window {
        SpeechRecognition: new () => SpeechRecognitionInstance;
        webkitSpeechRecognition: new () => SpeechRecognitionInstance;
    }
}
interface UseSpeechRecognitionOptions {
    enabled?: boolean;
    language?: string;
    onTranscript?: (transcript: string) => void;
    onStart?: () => void;
    onEnd?: () => void;
}
interface UseSpeechRecognitionReturn {
    isRecording: boolean;
    recognition: SpeechRecognitionInstance | null;
    handleMicrophoneClick: () => void;
}
/**
 * Hook for speech recognition functionality
 * Handles browser speech recognition API with callbacks for transcripts
 */
export declare function useSpeechRecognition({ enabled, language, onTranscript, onStart, onEnd }: UseSpeechRecognitionOptions): UseSpeechRecognitionReturn;
export {};
