import type React from "react";
export declare function useAgentVoiceInput(input: {
    inputPlaceholder: string;
    language?: string | null;
    prompt: string;
    textareaRef: React.RefObject<HTMLTextAreaElement | null>;
    setInputPlaceholder: (placeholder: string) => void;
    setPrompt: (prompt: string) => void;
}): {
    isVoiceSupported: boolean;
    isVoiceDisabled: boolean;
    isListening: boolean;
    handleVoicePointerDown: (event: React.PointerEvent) => void;
    handleVoicePointerUp: (event: React.PointerEvent) => void;
    handleVoicePointerCancel: (event: React.PointerEvent) => void;
};
