import { type DependencyGraph } from '../graph/resolver.js'; import type { ProcessState } from '../orchestrator/lifecycle.js'; export interface RenderGraphOptions { /** * Live process states. If omitted, every process is rendered as `pending`. * Pass `orckit.states()` during boot to make the same view double as a * progress display. */ states?: ReadonlyMap; /** * Frame index for the braille spinner used by `starting` processes. * Increment over time (e.g. via setInterval) to animate. Ignored for other * states. */ spinnerFrame?: number; /** * Per-row trailing annotation rendered after the dependency list — e.g. * `(132ms)` for ready processes or `(retry 2)` for restarting ones. */ annotations?: ReadonlyMap; } /** * Render the dependency graph as a wave-grouped tree. Each wave is the set of * processes that start in parallel; later waves wait for earlier ones to be * ready. The same renderer powers `orc validate` (static, all-pending) and * the live boot view (state + spinner + timing annotations). */ export declare function renderGraph(graph: DependencyGraph, opts?: RenderGraphOptions): string; //# sourceMappingURL=graph-view.d.ts.map