import type { AimockResponse, FixtureSet } from "./fixture-builder.js"; /** One captured real-model exchange: the request the agent sent + the response to bake. */ export interface Recording { readonly request: { readonly messages?: ReadonlyArray<{ readonly role: string; readonly content: unknown; }>; }; readonly response: AimockResponse; } /** * Convert ordered recordings (one per LLM call within a single case/thread) into * a replay FixtureSet, keyed with the SAME `{userMessage,turnIndex,hasToolResult}` * convention `script()` produces — so the recorded file replays through the same * aimock matcher with no drift. `turnIndex` is the 0-based ordinal of the call * within the thread; `userMessage` is the first user message (stable across the * thread); `hasToolResult` is whether a tool-role message is already present. */ export declare function recordingsToFixtures(recordings: readonly Recording[]): FixtureSet; //# sourceMappingURL=record-fixtures.d.ts.map