import { jsx as _jsx } from "react/jsx-runtime";
import { AgentTerminalContextChrome, AgentTerminalCostLimitBanner, } from "./components/AgentTerminalContextChrome";
import { AgentTerminalDialogHost } from "./components/AgentTerminalDialogHost";
export function useAgentTerminalChrome(input) {
    const { agent, agentMetadata, setAgentMetadata, setAgent, resolvedPageName, resolvedComponentName, resolvedFieldName, viewedContext, includeEditorContext, includeLiveEditorContext, captureEditorContextOnCreate, costLimitExceeded, onExtendCostLimit, activeInlineDialog, setActiveInlineDialog, inlineDialogContainerRef, displayMode, questionnaireFooterActions, dialogRegistrations, onInteractionSubmitted, } = input;
    return {
        contextChrome: (_jsx(AgentTerminalContextChrome, { agent: agent, agentMetadata: agentMetadata, setAgentMetadata: setAgentMetadata, setAgent: setAgent, resolvedPageName: resolvedPageName, resolvedComponentName: resolvedComponentName, resolvedFieldName: resolvedFieldName, viewedContext: viewedContext, includeEditorContext: includeEditorContext, includeLiveEditorContext: includeLiveEditorContext, captureEditorContextOnCreate: captureEditorContextOnCreate })),
        costLimitBanner: (_jsx(AgentTerminalCostLimitBanner, { costLimitExceeded: costLimitExceeded, currency: agent?.currency || "USD", onExtend: onExtendCostLimit })),
        inlineDialogContent: (_jsx(AgentTerminalDialogHost, { activeInlineDialog: activeInlineDialog, setActiveInlineDialog: setActiveInlineDialog, containerRef: inlineDialogContainerRef, displayMode: displayMode, questionnaireFooterActions: questionnaireFooterActions, dialogRegistrations: dialogRegistrations, onInteractionSubmitted: onInteractionSubmitted })),
    };
}
//# sourceMappingURL=useAgentTerminalChrome.js.map