/**
 * src/media/voice.ts
 * خط أنابيب الصوت — Voice note transcription (Whisper) + Speech synthesis (Azure/ElevenLabs)
 */
export interface TranscriptionResult {
    text: string;
    language: string;
    duration: number;
}
export interface SpeechResult {
    audioBuffer: Buffer;
    filePath: string;
    format: string;
    durationEstimate: number;
}
export interface VoiceNoteResult {
    text: string;
    language: string;
    duration: number;
    audioPath: string;
}
export interface SpeechOptions {
    voice?: 'male' | 'female';
    speed?: number;
}
/**
 * نسخ الصوت — Transcribe voice note to text using OpenAI Whisper API
 */
export declare function transcribeAudio(audioPath: string, language?: string): Promise<TranscriptionResult>;
/**
 * تحويل النص إلى كلام — Convert text to Arabic speech
 * Primary: Azure TTS → Fallback: ElevenLabs
 */
export declare function synthesizeSpeech(text: string, options?: SpeechOptions): Promise<SpeechResult>;
/**
 * معالجة الرسالة الصوتية — Full pipeline: transcribe → return text + metadata
 */
export declare function processVoiceNote(audioPath: string): Promise<VoiceNoteResult>;
//# sourceMappingURL=voice.d.ts.map