import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export function AgentSummaryPlaceholder({ compact, hideWaitingPlaceholder, actions, isWorking, statusMessage, placeholderMessage, }) {
    const containerClassName = `flex h-full items-center justify-center ${compact ? "min-h-[100px] p-3" : "min-h-[220px] p-6"}`;
    if (hideWaitingPlaceholder) {
        return (_jsx("div", { className: containerClassName, children: actions ? _jsx("div", { className: "flex justify-center", children: actions }) : null }));
    }
    return (_jsx("div", { className: containerClassName, children: _jsxs("div", { className: `border-border-default bg-neutral-grey-5 text-neutral-grey-50 max-w-md rounded-xl border text-center ${compact ? "px-3 py-2 text-xs" : "px-5 py-4 text-sm"}`, children: [_jsx("div", { children: isWorking
                        ? "The agent is still working. The next update will appear here automatically."
                        : statusMessage ||
                            placeholderMessage ||
                            "Waiting for the next agent update." }), actions ? (_jsx("div", { className: `flex justify-center ${compact ? "mt-2" : "mt-3"}`, children: actions })) : null] }) }));
}
//# sourceMappingURL=AgentSummaryPlaceholder.js.map