import type { HandleEventFn, HarnessSession, StepResult } from "#harness/types.js"; import type { SessionProjection } from "#protocol/session-projection.js"; /** * Parks the session with `step.failed` → `turn.failed` → `session.waiting` * when a dynamic connection resolver throws during rehydration, so the next * message can retry once the dependency recovers. Returns `undefined` for any * other error so the caller rethrows it. */ export declare function recoverDynamicConnectionRehydration(input: { readonly error: unknown; readonly emit: HandleEventFn; readonly projection: SessionProjection; readonly session: HarnessSession; }): Promise;