import { Usage } from "../contracts/result/usage.type.mjs"; import { AudioInput, TranscribeOptions, TranscriptionModelContract, TranscriptionModelPricing, TranscriptionResponse, TranscriptionSegment } from "../contracts/transcription-model.contract.mjs"; //#region ../ai/src/mock/mock-transcription-model.d.ts /** One scripted response for a {@link MockTranscriptionModel}. */ type MockTranscriptionResponse = { text?: string; segments?: TranscriptionSegment[]; durationSeconds?: number; usage?: Usage; error?: Error; delay?: number; }; /** One recorded `transcribe()` invocation, for test assertions. */ type MockTranscriptionCall = { audio: AudioInput; options: TranscribeOptions | undefined; }; /** Deterministic {@link TranscriptionModelContract} double for tests — no HTTP. */ declare class MockTranscriptionModel implements TranscriptionModelContract { readonly name: string; private readonly responses; readonly pricing?: TranscriptionModelPricing | undefined; readonly provider = "mock"; readonly calls: MockTranscriptionCall[]; private callIndex; constructor(name: string, responses: MockTranscriptionResponse[], pricing?: TranscriptionModelPricing | undefined); transcribe(audio: AudioInput, options?: TranscribeOptions): Promise; } //#endregion export { MockTranscriptionCall, MockTranscriptionModel, MockTranscriptionResponse }; //# sourceMappingURL=mock-transcription-model.d.mts.map