/** * Helper functions for run:iterate command. * Extracted from runIterate.ts for max-lines compliance. */ import type { IterationResult } from "../../runtime/types"; import type { HookResult } from "../../hooks/types"; /** * Detect the current iteration count from state cache or journal. */ export declare function detectIterationCount(runDir: string): Promise; /** * Derive a descriptive reason string from the iteration result and hook decision. */ export declare function deriveIterationReason(iterationResult: IterationResult, hookDecision: { action?: string; reason?: string; }, hooksExecuted: boolean): string; /** * Derive a descriptive hookStatus string from the hook result. */ export declare function deriveHookStatus(hookResult: HookResult): string; export declare function parseHookDecision(output: unknown): { action?: string; reason?: string; count?: number; until?: number; status?: string; }; //# sourceMappingURL=runIterateHelpers.d.ts.map