/** * Audio transcription (Whisper or compatible). * * The `openai` SDK is a peer dep — we import `toFile` only when used. */ export interface TranscriberOptions { client: AudioClient; model?: string; filename?: string; } export interface AudioClient { audio: { transcriptions: { create(body: { file: unknown; model: string; }): Promise<{ text?: string; }>; }; }; } export declare class Transcriber { private readonly client; private readonly model; private readonly filename; constructor({ client, model, filename }: TranscriberOptions); transcribe(audioStream: ReadableStream | null): Promise; } //# sourceMappingURL=transcriber.d.ts.map