import { useAgentPromptComposerHandlers } from "./useAgentPromptComposerHandlers";
import { useAgentPromptComposerProps } from "./useAgentPromptComposerProps";
import { useAgentQuickActions } from "./useAgentQuickActions";
import { useAgentTerminalActions } from "./useAgentTerminalActions";
export function useAgentPromptComposerSurface(input) {
    const { handlers, quickActions, composerProps, terminalActions } = input;
    const { focusPromptAtEnd, handlePaste, handleKeyPress, handlePromptInputChange, handleActivePlaceholderComplete, handleActivePlaceholderCancel, handlePromptPlaceholderComplete, handlePromptPlaceholderCancel, } = useAgentPromptComposerHandlers(handlers);
    const quickActionHandlers = useAgentQuickActions({
        ...quickActions,
        focusPromptAtEnd,
    });
    const promptComposerProps = useAgentPromptComposerProps({
        ...composerProps,
        handleActivePlaceholderComplete,
        handleActivePlaceholderCancel,
        handlePromptPlaceholderComplete,
        handlePromptPlaceholderCancel,
        handlePromptInputChange,
        handleKeyPress,
        handlePaste,
    });
    const terminalActionHandlers = useAgentTerminalActions(terminalActions);
    return {
        ...quickActionHandlers,
        promptComposerProps,
        ...terminalActionHandlers,
    };
}
//# sourceMappingURL=useAgentPromptComposerSurface.js.map