import * as react_jsx_runtime from 'react/jsx-runtime'; /** * CopilotContextCard — WealthX DS (Molecule) * * Renders a record the broker shared INTO the Copilot conversation — e.g. when * they hit "Send to AI" on a Loan CRM (opportunity) card. It appears in the chat * thread as the user-supplied context the agent will reason over: a compact * preview of the shared record with a "Shared from …" attribution and an * optional link back to the source. * * Pure display — the host maps the source record (e.g. OpportunityCardProps) to * these props and wires onOpen. Composes Card + Badge + Button. */ interface CopilotContextField { label: string; value: string; } type CopilotContextBadgeVariant = "default" | "secondary" | "outline" | "info" | "success" | "warning" | "destructive"; interface CopilotContextCardProps { /** Primary title, e.g. the customer name. */ title: string; /** Optional subtitle, e.g. "+1 co-applicant · Home Loan". */ subtitle?: string; /** Where the record came from. Defaults to "Loan CRM". */ sourceLabel?: string; /** Compact key/value fields to preview (amount, stage, …). */ fields?: CopilotContextField[]; /** Optional status badge (e.g. priority or stage). */ badge?: { label: string; variant?: CopilotContextBadgeVariant; }; /** Opens the source record (deep-link back to the Loan CRM card). */ onOpen?: () => void; openLabel?: string; className?: string; } declare function CopilotContextCard({ title, subtitle, sourceLabel, fields, badge, onOpen, openLabel, className, }: CopilotContextCardProps): react_jsx_runtime.JSX.Element; export { type CopilotContextBadgeVariant, CopilotContextCard, type CopilotContextCardProps, type CopilotContextField };