import type { Orckit } from '../orchestrator/orchestrator.js'; /** A labelled URL or path to render in the dashboard header. */ export interface DashboardLink { /** Short tag (e.g. `web`, `mcp`, `logs`). */ label: string; /** The URL or path. */ value: string; } export interface DashboardOptions { /** Spinner animation tick (ms). 0 disables animation. Default: 80ms. */ tickMs?: number; /** Stream to write to. Defaults to process.stdout (tests inject a fake). */ stream?: NodeJS.WriteStream; /** Bypass the TTY check — useful for tests. */ force?: boolean; /** Links rendered in the header next to the brand mark. */ links?: DashboardLink[]; } export interface DashboardHandle { /** * Print a line above the live region. Used by the cli-reporter to emit * preflight banners, failure tails, and other one-off messages without * disturbing the persistent dashboard at the bottom of the terminal. */ printAbove: (msg: string) => void; /** * Stop animating, flush a final frame, restore the cursor. The final * dashboard state stays in scrollback so the user can see how things ended. */ dispose: () => void; } /** * Attach the persistent orckit dashboard: a live region at the bottom of the * terminal showing the brand header, dependency graph (state-aware), and a * compact counter footer. Stays attached for the whole `orc start` session. * * Returns `null` when stdout isn't a TTY — the caller should fall back to the * plain line-by-line reporter (and optionally the REPL) instead. */ export declare function attachDashboard(orckit: Orckit, opts?: DashboardOptions): DashboardHandle | null; //# sourceMappingURL=dashboard.d.ts.map