import { jsx as _jsx } from "react/jsx-runtime";
import { AgentInlineDialogContent } from "../../AgentInlineDialogContent";
export function AgentTerminalDialogHost({ activeInlineDialog, setActiveInlineDialog, containerRef, displayMode, questionnaireFooterActions, dialogRegistrations, onInteractionSubmitted, }) {
    if (!activeInlineDialog) {
        return null;
    }
    const dialogRegistration = dialogRegistrations?.find((dialog) => dialog.dialogType === activeInlineDialog.request.dialogType);
    return (_jsx(AgentInlineDialogContent, { activeInlineDialog: activeInlineDialog, setActiveInlineDialog: setActiveInlineDialog, containerRef: containerRef, displayMode: displayMode, questionnaireFooterActions: questionnaireFooterActions, dialogRegistration: dialogRegistration, onInteractionSubmitted: onInteractionSubmitted }));
}
//# sourceMappingURL=AgentTerminalDialogHost.js.map