import type { ExtensionCommandContext } from "@mariozechner/pi-coding-agent"; import type { LoopRun, PhaseRun } from "./types"; export type LoopFinalizerDeps = { phaseRuns: Map; loops: Map; setSuppressEventRestore: (value: boolean) => void; persistState: (ctx: ExtensionCommandContext) => void; updateLoopStatusLine: (ctx: ExtensionCommandContext) => void; deactivateLoop: (loop: LoopRun) => void; appendRalphiEvent: (kind: string, data: Record) => void; sendProgressMessage: (text: string, details?: Record) => void; runLoopIteration: (ctx: ExtensionCommandContext, loopId: string) => Promise; markStoryDone: (cwd: string, storyId: string) => void; }; export declare class LoopFinalizer { private readonly deps; constructor(deps: LoopFinalizerDeps); private withSuppressedEventRestore; finalizeLoopRun(run: PhaseRun, ctx: ExtensionCommandContext): Promise; } //# sourceMappingURL=loop-finalizer.d.ts.map