interface UseSpeechRecognitionOptions {
    continuous?: boolean;
    interimResults?: boolean;
    lang?: string;
    onError?: (error: string) => void;
    onResult?: (text: string, isFinal: boolean) => void;
}
export declare function useSpeechRecognition(options?: UseSpeechRecognitionOptions): {
    isSupported: boolean;
    isListening: boolean;
    error: string | null;
    start: () => void;
    stop: () => void;
};
export {};
