import type { Changes } from "../git.js"; import type { Override } from "./override.js"; import type { StageRecord } from "./state.js"; /** What a pipeline prints while it runs. All of it goes to stderr. */ export declare class PipelineLog { header(name: string, round: number, changes: Changes, dir: string): void; valid(name: string, path: string): void; /** One line per override: where it came from and the keys it changes. */ overrides(overrides: Override[]): void; /** One line per `$tests` case of the file, and what did not hold. */ test(about: string, failures: string[]): void; checked(failed: number): void; skipped(reason: string): void; interrupted(): void; /** One line per stage: its mark, time, and status or a note. */ stage(record: StageRecord, detail?: string): void; /** The files a stage wrote, one path per line, so they can be opened. */ outputs(paths: string[]): void; starting(name: string, item?: string): void; /** An agent stage starting in this process. */ task(id: string, model: string | undefined, session: string | null, task: string): void; /** A task that did not stop when asked: it runs on, its result is ignored. */ abandoned(id: string): void; command(text: string): void; gate(name: string, passed: boolean, message: string, mark?: string): void; aiGate(problem: string | null): void; /** A dry run's line for a stage. */ plan(id: string, mark: PlanMark, text: string): void; note(message: string): void; } export declare const log: PipelineLog; type PlanMark = "runs" | "skipped" | "not-run"; export {};