/**
 * Voice Note S2S (Speech-to-Speech) Processor
 *
 * Batch-mode processor for file-based audio (voice notes). Sends audio through
 * the OpenAI Realtime API and returns both audio response and transcripts.
 *
 * Flow:
 *   1. Convert input OGG/Opus to PCM16 24kHz mono via ffmpeg
 *   2. Open WebSocket to OpenAI Realtime API
 *   3. Send audio, commit, wait for response
 *   4. Collect response audio + transcripts
 *   5. Convert response PCM16 to OGG/Opus via ffmpeg
 *   6. Close session, return result
 */
export interface VoiceNoteS2SOptions {
    /** Local path to OGG/Opus voice note. */
    audioPath: string;
    /** OpenAI API key (direct, not OpenRouter). */
    apiKey: string;
    /** Realtime model. Default: gpt-4o-realtime-preview */
    model?: string;
    /** Voice for response. Default: verse */
    voice?: string;
    /** System instructions for the model. */
    instructions?: string;
    /** Response timeout in ms. Default: 30000 */
    timeoutMs?: number;
    /** Maximum retries for transient API errors. Default: 2 */
    maxRetries?: number;
}
export interface VoiceNoteS2SResult {
    /** Path to OGG/Opus response audio file. */
    responseAudioPath: string;
    /** Transcript of what the user said. */
    inputTranscript?: string;
    /** Transcript of what the agent said. */
    responseTranscript?: string;
    /** Total processing time in ms. */
    latencyMs: number;
}
/**
 * Process a voice note through the OpenAI Realtime API (speech-to-speech).
 *
 * Converts input audio, sends it to the Realtime API, collects the response
 * audio and transcripts, and returns a ready-to-send OGG/Opus file.
 */
export declare function processVoiceNoteS2S(options: VoiceNoteS2SOptions): Promise<VoiceNoteS2SResult>;
