/** * Default StepHealer: when a step's `expect` fails at replay, re-decide a single action from the * step's `intent` and the live page, then re-freeze it in place — surgical, not a whole re-discovery. * The LLM (LlmClient port) runs only here, only on divergence (invariant #4(b)). See spec/core/surgical-heal.md. */ import type { Driver, LlmClient, StepHeal, StepHealer } from "./ports.js"; import type { Step } from "./types.js"; export declare class LlmStepHealer implements StepHealer { private readonly llm; private readonly maxHeals; readonly heals: StepHeal[]; constructor(llm: LlmClient, maxHeals?: number); heal(step: Step, index: number, driver: Driver): Promise; }