/**
 * useVoiceInput Hook - Advanced voice recognition with real-time feedback
 * Features: Continuous listening, confidence scoring, multi-language support
 */
export interface UseVoiceInputOptions {
    enabled?: boolean;
    continuous?: boolean;
    interimResults?: boolean;
    language?: string;
    maxAlternatives?: number;
    onResult?: (transcript: string, confidence: number) => void;
    onError?: (error: SpeechRecognitionError) => void;
    onStart?: () => void;
    onEnd?: () => void;
    autoRestart?: boolean;
    silenceTimeout?: number;
    confidenceThreshold?: number;
}
export interface UseVoiceInputReturn {
    isListening: boolean;
    transcript: string;
    interimTranscript: string;
    confidence: number;
    isSupported: boolean;
    error: string | null;
    startListening: () => void;
    stopListening: () => void;
    resetTranscript: () => void;
    alternatives: SpeechRecognitionAlternative[];
}
interface SpeechRecognitionError {
    error: string;
    message?: string;
}
interface SpeechRecognitionAlternative {
    transcript: string;
    confidence: number;
}
export declare const useVoiceInput: ({ enabled, continuous, interimResults, language, maxAlternatives, onResult, onError, onStart, onEnd, autoRestart, silenceTimeout, confidenceThreshold }?: UseVoiceInputOptions) => UseVoiceInputReturn;
export declare const useAdvancedVoiceInput: (options: UseVoiceInputOptions & {
    wakeWord?: string;
    commandPatterns?: Array<{
        pattern: RegExp;
        action: (matches: RegExpMatchArray) => void;
    }>;
    enableNoiseReduction?: boolean;
    enableEchoCanellation?: boolean;
}) => {
    isWakeWordActive: boolean;
    detectedCommands: string[];
    clearCommands: () => void;
    resetWakeWord: () => void;
    isListening: boolean;
    transcript: string;
    interimTranscript: string;
    confidence: number;
    isSupported: boolean;
    error: string | null;
    startListening: () => void;
    stopListening: () => void;
    resetTranscript: () => void;
    alternatives: SpeechRecognitionAlternative[];
};
export default useVoiceInput;
//# sourceMappingURL=useVoiceInput.d.ts.map