/** * STT orchestrator — `transcribe()` is the single entry point used by channel * adapters (telegram, webchat) and the preflight router. * * Internally delegates to `runAudioTranscription` from the media-understanding * runner. The runner returns a `MediaUnderstandingDecision`; we translate each * `decision.attachments[0].attempts[]` entry into the `STTProviderAttempt` * shape consumed by downstream telemetry. * * One-attachment fast path: `transcribe()` is 1-buffer-in / 1-text-out, so we * wrap the input as a single CapabilityAttachmentInput and unpack the first * output. Multi-attachment cases go through `runAudioTranscription` directly. */ import type { STTConfig, STTOptions, STTResultWithTracking } from './types.js'; export declare function transcribe(audioBuffer: Buffer, config: STTConfig, options?: STTOptions): Promise;