/** * Turn detection configuration for the MLLM module. */ export interface MllmTurnDetection { /** Turn detection mode for MLLM. */ mode?: MllmTurnDetection.Mode | null; agora_vad_config?: MllmTurnDetection.AgoraVadConfig | null; server_vad_config?: MllmTurnDetection.ServerVadConfig | null; semantic_vad_config?: MllmTurnDetection.SemanticVadConfig | null; /** Accepts any additional properties */ [key: string]: any; } export declare namespace MllmTurnDetection { /** Turn detection mode for MLLM. */ const Mode: { readonly AgoraVad: "agora_vad"; readonly ServerVad: "server_vad"; readonly SemanticVad: "semantic_vad"; }; type Mode = (typeof Mode)[keyof typeof Mode]; interface AgoraVadConfig { interrupt_duration_ms?: number | null; prefix_padding_ms?: number | null; silence_duration_ms?: number | null; threshold?: number | null; /** Accepts any additional properties */ [key: string]: any; } interface ServerVadConfig { prefix_padding_ms?: number | null; silence_duration_ms?: number | null; threshold?: number | null; idle_timeout_ms?: number | null; start_of_speech_sensitivity?: ServerVadConfig.StartOfSpeechSensitivity | null; end_of_speech_sensitivity?: ServerVadConfig.EndOfSpeechSensitivity | null; /** Accepts any additional properties */ [key: string]: any; } namespace ServerVadConfig { const StartOfSpeechSensitivity: { readonly StartSensitivityHigh: "START_SENSITIVITY_HIGH"; readonly StartSensitivityLow: "START_SENSITIVITY_LOW"; }; type StartOfSpeechSensitivity = (typeof StartOfSpeechSensitivity)[keyof typeof StartOfSpeechSensitivity]; const EndOfSpeechSensitivity: { readonly EndSensitivityHigh: "END_SENSITIVITY_HIGH"; readonly EndSensitivityLow: "END_SENSITIVITY_LOW"; }; type EndOfSpeechSensitivity = (typeof EndOfSpeechSensitivity)[keyof typeof EndOfSpeechSensitivity]; } interface SemanticVadConfig { eagerness?: SemanticVadConfig.Eagerness | null; /** Accepts any additional properties */ [key: string]: any; } namespace SemanticVadConfig { const Eagerness: { readonly Auto: "auto"; readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; }; type Eagerness = (typeof Eagerness)[keyof typeof Eagerness]; } }