/** * Collapse (progress §6): the projected tree flattened into exactly the rows worth drawing. * * Three rules, and the reason each earns its lines: * * - **A completed construct folds to one summary row** (§6.1). Its detail has stopped being * actionable — nothing in it can change again — and it is not lost: the log holds it and * `/workflow status` (§11.4) prints it in full. The panel shrinks exactly when it should. * - **A construct that has not started is one `○` row** (§6.3). Expanding structure that may never run * — an untaken branch arm above all — is noise dressed as information. * - **Everything else stays expanded** (§6.2), which is what keeps the active path visible root to * leaf, together with the siblings of whatever is running: the only region a user can act on, and * so the only region that pays for its lines. * * There is no line budget (§6.5, deferred): a cap is a mechanism with a tuning problem attached, and * the three rules above keep a realistic run comfortably small without one. * * Pure — no PI, no `node:fs`, no clock (progress §2.1). */ import type { ProgressRow, ProgressView } from "./types.ts"; /** Flatten a view into the rows a render draws, applying progress §6.1–§6.3. */ export declare function collapse(view: ProgressView): ProgressRow[]; //# sourceMappingURL=collapse.d.ts.map