import { useAgentCostLimitActions } from "./useAgentCostLimitActions";
import { useAgentSettingsCommands } from "./useAgentSettingsCommands";
import { useAgentTerminalChrome } from "./useAgentTerminalChrome";
export function useAgentTerminalControls(input) {
    const { costLimit, settingsCommands, chrome } = input;
    const { handleExtendCostLimit } = useAgentCostLimitActions(costLimit);
    const { handleModeSettingsChange, handleProfileSettingsChange, handleModelSettingsChange, } = useAgentSettingsCommands(settingsCommands);
    const { contextChrome, costLimitBanner, inlineDialogContent } = useAgentTerminalChrome({
        ...chrome,
        onExtendCostLimit: handleExtendCostLimit,
    });
    return {
        contextChrome,
        costLimitBanner,
        inlineDialogContent,
        handleModeSettingsChange,
        handleProfileSettingsChange,
        handleModelSettingsChange,
    };
}
//# sourceMappingURL=useAgentTerminalControls.js.map