import type { ModelStep, StepInput } from '../contract/vocabulary.js'; import { TurnFailure } from '../contract/vocabulary.js'; import type { ModelPort } from '../contract/ports.js'; /** The data-driven seat: a ModelPort fed a queue of typed steps — no network, no keys. * Records every StepInput it receives; an entry may be a TurnFailure, thrown when its * turn in the queue comes. Exam scripts and engine proofs drive the real engine * through this seat. */ export declare class ScriptedModel implements ModelPort { readonly seen: StepInput[]; private readonly steps; constructor(steps: readonly (ModelStep | TurnFailure)[]); step(input: StepInput): Promise; } /** The scripted seat as a desk that PAYS what the turn owes: whatever the script says, * a finish is delivered carrying the fact lines the prompt showed and naming exactly * the ids it numbered — the literals a real desk copies out of the records it was * handed, and no id beyond them. Codes and figures the engine mints at runtime cannot * live in a static script; this is how a script states them. Every other step comes * from the script untouched. */ export declare function payingDesk(steps: readonly (ModelStep | TurnFailure)[]): ModelPort & { readonly seen: StepInput[]; }; //# sourceMappingURL=scripted-model.d.ts.map