import { type ErrorContext, type ErrorReaction, type IErrorStrategy, type IPlanner, type PlanNode } from '@mcp-abap-adt/llm-agent'; /** * Replans a node ONLY for NeedsDecompositionError (the explicit "decompose me" * signal). Any other error → abort (a transient MCP/LLM failure is not fixed by * decomposition). Stateless: holds the maxReplans ceiling but never counts — the * interpreter owns the per-run counter and passes `remainingReplans`. */ export declare class ReplanErrorStrategy implements IErrorStrategy { private readonly planner; readonly maxReplans: number; readonly name = "replan"; constructor(planner: IPlanner, maxReplans?: number); onNodeFailure(_node: PlanNode, error: unknown, ctx: ErrorContext): Promise; } //# sourceMappingURL=replan-error-strategy.d.ts.map