import type { EdictHostAdapter } from "./host-adapter.js"; import type { ReplayEntry } from "./replay-types.js"; /** Error thrown when replay token runs out of recorded responses. */ export declare class ReplayExhaustedError extends Error { expectedKind: string; position: number; constructor(expectedKind: string, position: number); } /** * Create a replay adapter that returns pre-recorded responses. * * Each adapter method call pops the next entry from the cursor and returns * its recorded result. Throws ReplayExhaustedError if the queue runs out. * * @param entries - The recorded entries from a ReplayToken * @param cursor - Shared cursor object (mutated to track position) */ export declare function createReplayAdapter(entries: ReplayEntry[], cursor: { i: number; }): EdictHostAdapter; //# sourceMappingURL=replay-adapter.d.ts.map