/** * adapters/iterm/dictation.ts — Local mic recording and Whisper transcription. * * Provides recordFromMic() and transcribeLocalAudio() for desk dictation. * Both functions use sox for recording and the Whisper CLI for transcription. */ /** Absolute path to the Whisper CLI binary. */ export declare const WHISPER_BIN: string; /** Whisper model name (overridable via AIBROKER_WHISPER_MODEL env). */ export declare const WHISPER_MODEL: string; /** * Record audio from the default Mac microphone using sox. * Stops automatically after ~2 seconds of silence. * * @param maxDurationSec - Maximum recording duration (default 60s). * @returns Absolute path to the recorded WAV file. */ export declare function recordFromMic(maxDurationSec?: number): Promise; /** * Transcribe a local audio file using the Whisper CLI. * * @param audioPath - Absolute path to the audio file. * @returns The raw transcript text. */ export declare function transcribeLocalAudio(audioPath: string): Promise; //# sourceMappingURL=dictation.d.ts.map