import type { Transcriber, Transcription } from "./transcriber.js"; /** * Streams text as the audio arrives. `gpt-4o-transcribe` would only start on * a turn once it ended, so the text would come a pause at a time. */ export declare const MODEL = "gpt-live-transcribe"; export interface OpenAiTranscriberOptions { /** What the take is, read before the audio. */ prompt?: string; /** Names the model should spell the way this repo does. */ keywords?: string[]; /** OpenAI's by default; a test hands in its own. */ url?: string; } /** Transcribes through OpenAI's Realtime API, a websocket per take. */ export declare class OpenAiTranscriber implements Transcriber { private readonly apiKey; private readonly opts; private readonly url; constructor(apiKey: string, opts?: OpenAiTranscriberOptions); listen(): Promise; }