import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { AlertCircle } from "lucide-react";
import { isAgentErrorStatusValue } from "../../agentMessageHelpers";
export function AgentSummaryErrorNotice({ error, status, }) {
    if (!error || isAgentErrorStatusValue(status)) {
        return null;
    }
    return (_jsx("div", { className: "border-feedback-red bg-feedback-red-light m-4 rounded-lg border-l-4 p-3 select-text", children: _jsxs("div", { className: "flex items-start", children: [_jsx(AlertCircle, { className: "text-feedback-red mt-0.5 h-4 w-4 flex-shrink-0", strokeWidth: 1 }), _jsxs("div", { className: "ml-3", children: [_jsx("p", { className: "text-feedback-red text-[11px] font-medium", children: "Error" }), _jsx("p", { className: "text-feedback-red mt-1 text-[11px]", children: error })] })] }) }));
}
//# sourceMappingURL=AgentSummaryErrorNotice.js.map