/** * Portal / Web hold-to-talk STT — wrap core `transcribe()` for HTTP uploads. * * Writes the raw audio blob to a temp file (Whisper needs a path + extension), * runs the configured provider, then deletes the temp file. */ import { type TranscribeProvider, type TranscribeResult } from './transcribe.js'; /** ~60s of opus/webm or aac/mp4 at conversational bitrate. */ export declare const CHAT_TRANSCRIBE_MAX_BYTES: number; export declare function extensionForAudioMime(mime: string, filename?: string): string; export declare function transcribeChatAudio(opts: { body: Buffer; mime?: string; filename?: string; language?: string; }): Promise; export declare function isTranscribeConfigured(): boolean; export type { TranscribeProvider, TranscribeResult }; //# sourceMappingURL=chat-transcribe.d.ts.map