import type { AgentChatMessage } from "../../services/agentService";
import type { ActivePlaceholderInput } from "./useAgentPromptComposerHandlers";
export declare function useAgentTerminalScroll(input: {
    messages: AgentChatMessage[];
    textareaRef: React.RefObject<HTMLTextAreaElement | null>;
    activePlaceholderInput: ActivePlaceholderInput | null;
    effectiveIsFocused: boolean;
}): {
    messagesContainerRef: import("react").RefObject<HTMLDivElement | null>;
    shouldAutoScroll: boolean;
    setShouldAutoScroll: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    shouldMaintainFocusRef: import("react").RefObject<boolean>;
    scrollToBottom: () => void;
    handleScroll: () => void;
};
