/** * 状态流转时间线:左侧 2px 竖线 + 圆点的只读事件序列,用于归档详情/任务历史。 */ export interface TimelineItem { /** 时间文字,如 "2026-06-12 14:02:31" */ time: string; /** 事件文字,如 "执行中 → 待审/合" */ text: string; /** 操作者/来源,如 "编排器 · 依赖满足自动放行" */ who?: string; /** 圆点颜色(CSS 值),默认 --muted */ color?: string; } export interface TimelineProps { items?: TimelineItem[]; style?: React.CSSProperties; } export declare function Timeline(props: TimelineProps): JSX.Element;