import { type RefObject } from "react";
import type { AgentSessionCommands } from "./types";
export declare function useAgentTerminalActions(input: {
    commands: AgentSessionCommands;
    prompt: string;
    setPrompt: (prompt: string) => void;
    setShowPredefined: (open: boolean) => void;
    setShowAgentSettings: (open: boolean) => void;
    setShowSkillPicker: (open: boolean) => void;
    textareaRef: RefObject<HTMLTextAreaElement | null>;
    handleOpenProfileSettings: (options?: {
        openInNewSlot?: boolean;
    }) => Promise<void> | void;
}): {
    handleStopFromComposer: () => void;
    handleSubmitFromComposer: () => void;
    handleGreetingPromptClick: (nextPrompt: string) => void;
    handleSelectPredefinedPrompt: (selectedPrompt: string) => void;
    handleSettingsOpenChange: (open: boolean) => void;
    handleOpenProfileSettingsFromSettings: (options?: {
        openInNewSlot?: boolean;
    }) => Promise<void>;
};
