import type { CodeBuddyAgent, ChatEntry } from "../agent/codebuddy-agent.js";
import { FileSuggestion } from "../ui/components/FileAutocomplete.js";
interface UseInputHandlerProps {
    agent: CodeBuddyAgent;
    chatHistory: ChatEntry[];
    setChatHistory: React.Dispatch<React.SetStateAction<ChatEntry[]>>;
    setIsProcessing: (processing: boolean) => void;
    setIsStreaming: (streaming: boolean) => void;
    setTokenCount: (count: number) => void;
    setProcessingTime: (time: number) => void;
    processingStartTime: React.MutableRefObject<number>;
    isProcessing: boolean;
    isStreaming: boolean;
    isConfirmationActive?: boolean;
}
interface CommandSuggestion {
    command: string;
    description: string;
}
interface ModelOption {
    model: string;
}
export declare function useInputHandler({ agent, chatHistory, setChatHistory, setIsProcessing, setIsStreaming, setTokenCount, setProcessingTime, processingStartTime, isProcessing, isStreaming, isConfirmationActive, }: UseInputHandlerProps): {
    input: string;
    cursorPosition: number;
    showCommandSuggestions: boolean;
    selectedCommandIndex: number;
    showModelSelection: boolean;
    selectedModelIndex: number;
    showFileAutocomplete: boolean;
    selectedFileIndex: number;
    fileSuggestions: FileSuggestion[];
    commandSuggestions: CommandSuggestion[];
    availableModels: ModelOption[];
    agent: CodeBuddyAgent;
    autoEditEnabled: boolean;
};
export {};
