import type { ErrorContext, ErrorReaction, IErrorStrategy, IReviewStrategy, PlanNode } from '@mcp-abap-adt/llm-agent'; /** * Error strategy that delegates recovery to the reviewer: on a node failure it * asks the reviewer to replan the REMAINING objective against current state * (`reviewExecutionFailure`), returning a `revise` reaction (whole-remainder * swap) or `abort`. Stateless — the interpreter owns the per-run budget. */ export declare class ReviewerErrorStrategy implements IErrorStrategy { private readonly reviewer; readonly maxReplans: number; readonly name = "reviewer"; constructor(reviewer: IReviewStrategy, maxReplans?: number); onNodeFailure(node: PlanNode, error: unknown, ctx: ErrorContext): Promise; } //# sourceMappingURL=reviewer-error-strategy.d.ts.map