import type * as ElevenLabs from "../index"; /** * Configuration for the transcription session. */ export interface SessionStartedPayloadConfig { /** Sample rate of the audio in Hz. */ sampleRate?: number; audioFormat?: ElevenLabs.AudioFormatEnum; /** Language code in ISO 639-1 or ISO 639-3 format. */ languageCode?: string; /** Strategy for committing transcriptions. */ commitStrategy?: ElevenLabs.SessionStartedPayloadConfigCommitStrategy; /** Silence threshold in seconds. */ vadSilenceThresholdSecs?: number; /** Threshold for voice activity detection. */ vadThreshold?: number; /** Minimum speech duration in milliseconds. */ minSpeechDurationMs?: number; /** Minimum silence duration in milliseconds. */ minSilenceDurationMs?: number; /** ID of the model to use for transcription. */ modelId?: string; /** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request. Zero retention mode may only be used by enterprise customers. */ enableLogging?: boolean; /** Whether the session will include word-level timestamps in the committed transcript. */ includeTimestamps?: boolean; /** Whether the session will include language detection in the committed transcript. */ includeLanguageDetection?: boolean; }