export interface LoopGuardConfig { maxToolRounds: number; maxConsecutiveErrors: number; stuckDetectionWindow: number; } export declare class LoopGuard { private config; private toolRoundCount; private consecutiveErrors; private recentToolCalls; constructor(config?: Partial); shouldContinue(): { ok: boolean; reason?: string; }; recordToolCall(name: string, args: string, success: boolean): void; reset(): void; private detectStuck; private simpleHash; } //# sourceMappingURL=loop-guard.d.ts.map