/** * TUI task detail panel — scrollable inspection of a selected dispatch task. * * Shows the task's result text (windowed via offset/limit), metadata (agent, * status, duration, tool-call count, liveness), and error details. * * Navigation: mouse wheel for scroll, g/G for top/bottom, * * @module */ import type { ThemeColors } from "../helpers.ts"; import type { TaskSnapshot, TaskDetail } from "../../cli/commands/monitor/monitor-reader.ts"; export interface TaskDetailPanelProps { c: ThemeColors; detail: TaskDetail; selectedTask: TaskSnapshot | null; offset: number; totalChars: number; /** Called when the close/back button is clicked. */ onClose?: () => void; /** Called on scroll up. */ onScrollUp?: () => void; /** Called on scroll down. */ onScrollDown?: () => void; } export declare function renderTaskDetailPanel(props: TaskDetailPanelProps): any; //# sourceMappingURL=TaskDetail.d.ts.map