import type { Orckit } from '../orchestrator/orchestrator.js'; export interface ShutdownReporterOptions { /** * Where to send output. Defaults to `console.log`. The CLI disposes the live * dashboard before attaching this, so plain stdout is the normal sink. */ out?: (msg: string) => void; } /** * Verbose teardown log, attached by the CLI for the duration of a shutdown * (Ctrl-C / boot failure). It answers "what is stopping, did it stop, did it * time out?" and pipes each process's and hook's output as it drains so the user * can see a stuck process explaining itself. * * Two visual tiers keep status legible amid piped output: * - **status** lines are icon-led at a 2-space indent (` ⠿ db stopping`); * - **piped** output sits deeper (6 spaces) and is tagged with the process * name + a stream marker, so the interleaving from parallel teardown stays * attributable: ` db │ shutting down`. * * Returns a detach function. Intended to be the sole shutdown UI — the CLI * detaches the normal reporter first so stop lines aren't printed twice. */ export declare function attachShutdownReporter(orckit: Orckit, opts?: ShutdownReporterOptions): () => void; //# sourceMappingURL=shutdown-reporter.d.ts.map