/** * agent-tree-renderer.ts — Renders the execution tree view in the TUI dashboard. * * Displays the agent parent-child hierarchy as a Unicode box-drawing tree, * with status indicators, type labels, and optional Mermaid/JSON export hints. */ import type { AgentRecord } from "../types.js"; import type { BoxChars, DashboardTheme } from "./theme.js"; /** * Render the execution tree inside the dashboard viewport. * * @param innerW - Inner width of the dashboard frame * @param th - Dashboard theme colors * @param box - Box drawing characters * @param records - All agent records to render in the tree * @returns Array of rendered lines */ export declare function renderTreeView(innerW: number, th: DashboardTheme, box: BoxChars, records: AgentRecord[]): string[]; /** * Render format selection hints for the tree view. * Shown at the bottom of the tree panel. */ export declare function renderTreeFooter(innerW: number, th: DashboardTheme, box: BoxChars): string[];