import * as react_jsx_runtime from 'react/jsx-runtime'; /** * Pipeline domain primitives — WealthX DS * * Complex domain-specific atoms for the Pipeline / Loan CRM feature * that cannot be expressed as simple use-cases of existing primitives. * * Simple patterns (priority dot, days chip, loan type badge, progress bar) * are documented as use-cases in their respective base component stories * (Badge, Chip, Progress) — not exported as separate components. * * Layer: L2 Domain Primitive */ interface TaskCheckItemProps { /** Task display title. */ title: string; /** Whether the task has been completed. */ completed: boolean; /** Name of the AI agent assigned to this task, if any. */ aiAgentName?: string | null; /** * When `aiAgentName` is set and this prop is provided (true/false), * a "Allow Agent to Auto Complete" switch is shown beneath the agent badge. * Omit this prop to hide the switch entirely. */ autoCompleteEnabled?: boolean; /** Called when the auto-complete switch is toggled. */ onAutoCompleteToggle?: () => void; /** Called when the checkbox is toggled. */ onToggle?: () => void; /** Disables interaction (e.g. while saving). */ disabled?: boolean; /** * Text size for the task title. * - "xs" (default) — 12px, for compact card usage * - "sm" — 14px, for standalone / drawer usage */ size?: "xs" | "sm"; className?: string; } /** * A single task row with a checkbox, title (strikethrough when done), * and an optional AI agent chip. * * Used in two contexts: * - `OpportunityCard` (kanban card) — default `size="xs"` (12px), compact * - `StageTimeline` (drawer Tasks tab) — `size="sm"` (14px), standalone * * Data source: `Opportunity.tasks[]` from `loan-crm.ts` * - `completed` ← `task.completedTaskId !== null` * - `aiAgentName` ← `task.aiAgentName` */ declare function TaskCheckItem({ title, completed, aiAgentName, autoCompleteEnabled, onAutoCompleteToggle, onToggle, disabled, size, className, }: TaskCheckItemProps): react_jsx_runtime.JSX.Element; export { TaskCheckItem, type TaskCheckItemProps };