import * as react_jsx_runtime from 'react/jsx-runtime'; /** * StageTimeline — WealthX DS (L4 Section) * * Progress bar + accordion list of pipeline stages with task checklists. * Used in the Tasks tab of OpportunityDetailsDrawer. * * Layout: * • Top: progress bar showing completed stages / total stages * • Below: accordion with one item per stage * * Data source: `listColumns()` + `listLoans()` → tasks per stage */ interface StageTimelineTask { id: string; title: string; completed: boolean; aiAgentName?: string | null; /** When provided alongside `aiAgentName`, shows the auto-complete toggle switch. */ autoCompleteEnabled?: boolean; } interface StageTimelineStage { id: string; name: string; tasks: StageTimelineTask[]; /** Stage the opportunity is currently in. */ isCurrentStage?: boolean; /** Stage has been fully passed through. */ isCompleted?: boolean; } interface StageTimelineProps { stages: StageTimelineStage[]; /** Called when a task checkbox is toggled. */ onTaskToggle?: (stageId: string, taskId: string) => void; /** Called when the auto-complete switch on a task is toggled. */ onTaskAutoCompleteToggle?: (stageId: string, taskId: string) => void; /** Shows a loading skeleton instead of stages. */ isLoading?: boolean; className?: string; } declare function StageTimeline({ stages, onTaskToggle, onTaskAutoCompleteToggle, isLoading, className, }: StageTimelineProps): react_jsx_runtime.JSX.Element; export { StageTimeline, type StageTimelineProps, type StageTimelineStage, type StageTimelineTask };