import * as react_jsx_runtime from 'react/jsx-runtime'; /** * CopilotActionCard — WealthX DS (Molecule) * * Renders an agentic action the broker Copilot proposes or has performed * (create a task, send an email, update a deal) with a confirm / undo / retry * affordance and a status badge. Composes Card + Button + Badge + Spinner. * * Pure display: the host wires onConfirm/onUndo/onRetry/onCancel to the real * side-effect (and any toast). */ type CopilotActionStatus = "proposed" | "pending" | "done" | "failed"; interface CopilotActionCardProps { /** What the action does, e.g. "Create follow-up task". */ title: string; /** Optional detail, e.g. "Call Jordan re: pre-approval · due Fri". */ description?: string; /** Lifecycle state. Defaults to "proposed". */ status?: CopilotActionStatus; /** Confirm a proposed action. */ onConfirm?: () => void; /** Dismiss a proposed action. */ onCancel?: () => void; /** Undo a completed action. */ onUndo?: () => void; /** Retry a failed action. */ onRetry?: () => void; confirmLabel?: string; cancelLabel?: string; undoLabel?: string; retryLabel?: string; className?: string; } declare function CopilotActionCard({ title, description, status, onConfirm, onCancel, onUndo, onRetry, confirmLabel, cancelLabel, undoLabel, retryLabel, className, }: CopilotActionCardProps): react_jsx_runtime.JSX.Element; export { CopilotActionCard, type CopilotActionCardProps, type CopilotActionStatus };