import { jsx as _jsx } from "react/jsx-runtime";
import { AgentLoadingContent } from "./components/AgentLoadingContent";
import { AgentReadOnlyNotice } from "./components/AgentReadOnlyNotice";
export function useAgentTerminalNotices(input) {
    const { agent, readOnly, isLoading, shouldShowLoadingContent } = input;
    return {
        loadingContent: shouldShowLoadingContent ? _jsx(AgentLoadingContent, {}) : null,
        readOnlyAccessNotice: readOnly && !isLoading ? (_jsx(AgentReadOnlyNotice, { ownerName: agent?.ownerName, userId: agent?.userId })) : null,
    };
}
//# sourceMappingURL=useAgentTerminalNotices.js.map