import { type ProgramIO } from '../cli-helpers.js'; import type { BatchMode } from '../../services/batch/batch-entry.js'; import type { BatchProgress } from '../../services/batch/batch-progress-types.js'; import type { BatchCompactionPoint } from '../../services/code/batch-compaction-point.js'; import type { SubAgentToolCall } from '../../services/dispatch/sub-agent-dispatcher.js'; /** * The envelope the diagnosis stage answers with. * * Split out so the action stays one thing: the stage runs, and the answer * is built. The compaction block is part of the answer because the phase * advance is what CHOOSES the compaction point — the caller is told which * point it is, rather than left to work it out. */ export declare function printDiagnoseResult(input: { readonly io: ProgramIO; readonly asJson: boolean; readonly mode: BatchMode; readonly rid: string; readonly sessionId: string; readonly progress: BatchProgress; readonly pendingCount: number; readonly toolCalls: readonly SubAgentToolCall[]; readonly undiagnosable: readonly string[]; readonly compaction: BatchCompactionPoint; }): void;