import * as react_jsx_runtime from 'react/jsx-runtime'; /** * Copilot Primitives — WealthX DS (Atoms) * * Display-only response atoms for the broker Copilot extension chat surface. * Each renders one "response case" the agent can return. No API calls, no * state beyond local UI — data in via props, events out via callbacks. * * Composes existing DS primitives (Alert, Chip, Button) rather than re-styling * raw markup, so they inherit the system's variants, tokens and sharp corners. * * Exports: * CopilotErrorMessage — failed response + Retry (Alert destructive) * CopilotRateLimitMessage — usage/quota exhausted (Alert warning) * CopilotSourceCitation — "Based on:" data-source chips (Chip) */ interface CopilotErrorMessageProps { /** Headline shown to the user. Defaults to a generic failure message. */ message?: string; /** Optional technical/contextual reason shown under the headline. */ detail?: string; /** When provided, renders a Retry button that calls this. */ onRetry?: () => void; /** Label for the retry button. Defaults to "Retry". */ retryLabel?: string; className?: string; } declare function CopilotErrorMessage({ message, detail, onRetry, retryLabel, className, }: CopilotErrorMessageProps): react_jsx_runtime.JSX.Element; interface CopilotRateLimitMessageProps { /** Headline. Defaults to a usage-limit message. */ message?: string; /** Human-readable reset hint, e.g. "in 12 minutes" or "at 2:30 PM". */ resetLabel?: string; /** When provided, renders an upgrade/primary action. */ onUpgrade?: () => void; /** Label for the upgrade action. Defaults to "Upgrade plan". */ upgradeLabel?: string; className?: string; } declare function CopilotRateLimitMessage({ message, resetLabel, onUpgrade, upgradeLabel, className, }: CopilotRateLimitMessageProps): react_jsx_runtime.JSX.Element; type CopilotSourceType = "contact" | "deal" | "document" | "appointment"; interface CopilotSource { /** Display text, e.g. "Jordan Avery" or "Loan #4821". */ label: string; /** Drives the leading icon. Defaults to "document". */ type?: CopilotSourceType; /** When provided, the chip becomes interactive and calls this. */ onClick?: () => void; } interface CopilotSourceCitationProps { sources: CopilotSource[]; /** Leading label. Defaults to "Based on". */ label?: string; className?: string; } declare function CopilotSourceCitation({ sources, label, className, }: CopilotSourceCitationProps): react_jsx_runtime.JSX.Element | null; interface CopilotThinkingStepsProps { /** * Reasoning steps. While `isThinking`, the last entry is the in-progress step * (animated dots) and earlier ones are completed; otherwise all are completed. */ steps: string[]; /** * Collapsed summary line. Defaults to the live step while thinking, or * "Thought process" once done. */ summary?: string; /** Reasoning still in progress — animated, last step active. @default true */ isThinking?: boolean; /** Start expanded. @default false */ defaultExpanded?: boolean; className?: string; } /** * Agent "thinking" disclosure (Claude/GPT style): a collapsed one-line summary * by default; clicking the chevron expands the full reasoning trace. While * `isThinking`, the summary tracks the live step and the last step animates. * Ports the policy-AI thinking-steps pattern into a shared, collapsible atom. */ declare function CopilotThinkingSteps({ steps, summary, isThinking, defaultExpanded, className, }: CopilotThinkingStepsProps): react_jsx_runtime.JSX.Element | null; export { CopilotErrorMessage, type CopilotErrorMessageProps, CopilotRateLimitMessage, type CopilotRateLimitMessageProps, type CopilotSource, CopilotSourceCitation, type CopilotSourceCitationProps, type CopilotSourceType, CopilotThinkingSteps, type CopilotThinkingStepsProps };