/** * Terminal-friendly formatting for TaskGraphNode rows. * * Produces compact, scannable one-liners for dialog options and tree views. * Status uses unicode symbols that render well in most terminal emulators. */ import type { TaskStatus } from "../state.js"; import type { TaskGraphNode, TaskGraphSnapshot } from "../task-graph.js"; export declare function statusIcon(status: TaskStatus): string; export declare function statusLabel(status: TaskStatus): string; /** * Short single-line title for a task node suitable for dialog option titles. * * Example: `● running coder Implement helper function` */ export declare function formatNodeTitle(node: TaskGraphNode): string; /** * Secondary detail line for a task node suitable for dialog option descriptions. * * Includes timing, execution mode, merge/verification status when available. */ export declare function formatNodeDescription(node: TaskGraphNode): string; /** * Group label used as the `category` in DialogSelect options. * * Groups tasks into "Active", "Completed", and "Blocked" buckets * so the dialog visually separates them. */ export declare function formatNodeCategory(node: TaskGraphNode): string; /** * One-line summary of the entire graph, useful as a slot label or toast. * * Example: `Tasks: 3 total ● 1 running ○ 1 queued ✓ 1 passed` */ export declare function formatGraphSummaryLine(snapshot: TaskGraphSnapshot): string; /** * Build a flat tree-like text representation of the task graph. * * Each root node (no depends_on) is rendered at the top level. * Dependents are indented beneath their dependency with box-drawing connectors. */ export declare function formatGraphTree(snapshot: TaskGraphSnapshot): string; //# sourceMappingURL=format.d.ts.map