import { type StoryRow } from "./story.js"; import type { TreeNode } from "./types.js"; export type OutlineLine = { address: string; rowId: string; kind: StoryRow["kind"]; depth: number; header: string; }; /** `approvals` shows approved interrupts, as `p` does. `admin` adds the * handler decisions under each interrupt, as the viewer's admin toggle * does, and with them the approvals they sit under. */ export type OutlineFlags = { approvals: boolean; admin: boolean; }; /** Every row the trace screen would draw with these toggles, in its order. */ export declare function outlineLines(trace: TreeNode, flags: OutlineFlags): OutlineLine[];