import { type HookOutput } from "oh-my-plumb-schema"; import { type FileDiff } from "../lib/git.js"; export type TurnDiff = { kind: "complete"; files: string[]; fileDiffs: FileDiff[]; source: "git" | "files"; /** Blob id at turn start per file; null if absent then, undefined if git could not say. */ startIds: Map | undefined; } /** Part of the turn could not be read back in time. A judgment on the rest would be a judgment on a different change. */ | { kind: "incomplete"; reason: string; missing: string[]; }; /** * Everything the turn changed. With a baseline from turn-start it is the git * diff between then and now, whichever tool made the change. Without one it * is each file's start-of-turn content against the disk, which sees only what * Edit and Write touched. Every diff here shares one budget, and a turn that * did not fit in it is reported as incomplete rather than checked in part. */ export declare const turnDiff: (root: string, dir: string) => TurnDiff; export declare const handleStop: (raw: unknown) => Promise; //# sourceMappingURL=stop.d.ts.map