import { type PlanContext } from "./plan-paths.js"; /** Marker filename, resolved under the plan's state dir. */ export declare const LOOP_ATTEMPT_FILE = "loop_attempt.json"; /** Legacy relative path (under worktree) — retained for reference. */ export declare const LOOP_ATTEMPT_REL_PATH = ".opencode/loop_attempt.json"; export type LoopAttemptMarker = { attempt: number; sessionId: string; workerSessionId?: string; updatedAt: string; }; export declare function writeLoopAttemptMarker(ctx: PlanContext, marker: Pick & { workerSessionId?: string; }): Promise; /** Returns the current loop attempt from the marker file, if present. */ export declare function readLoopAttemptMarker(ctx: PlanContext): Promise; //# sourceMappingURL=loop-attempt.d.ts.map