/** * Renderers for `crew status`. Three output modes share this file. * * With no task it renders the inventory: it calls the collectors in * statusCollect.ts, joins the two tiers with joinStatus, and prints text. * With a task it renders that one task, doing its own I/O rather than using * the collectors, because it reads the whole log where they read a tail. * With --json it prints and persists the wire documents from statusSnapshot.ts. * Text mode persists nothing. * * @see README.md#status-snapshots-for-external-monitors for the reader contract. */ import { type ResolvedConfig } from "../lib/config.ts"; export interface StatusOptions { task?: string; /** Emit the snapshot documents as JSON and persist them. */ json?: boolean; /** Collect the local tier only. Guarantees this run makes no network call. */ localOnly?: boolean; } export declare function status(config: ResolvedConfig, options?: StatusOptions): Promise; export declare function statusCli(argv: string[]): Promise; //# sourceMappingURL=status.d.ts.map