import type { ICoordinatorContext, ILlm, IPlanningStrategy, Plan, PlanStep, StepResult } from '@mcp-abap-adt/llm-agent'; /** * Plan once at the start. If a step fails (StepResult.ok === false), build a * fresh plan for the remaining work, taking the failure into account. */ export declare class ReplanOnErrorPlanning implements IPlanningStrategy { private readonly plannerLlm; readonly name = "replan-on-error"; private readonly delegate; constructor(plannerLlm: ILlm); buildInitialPlan(ctx: ICoordinatorContext): Promise; shouldReplan(_ctx: ICoordinatorContext, lastResult: StepResult): boolean; rebuildPlan(ctx: ICoordinatorContext, remaining: PlanStep[]): Promise; } //# sourceMappingURL=replan-on-error.d.ts.map