import type * as SarvamAI from "../index.mjs"; export interface SpeechToTextTranslateJobParameters { /** Prompt to assist the transcription */ prompt?: string | undefined; /** * Model to be used for speech to text translation. * * - **saaras:v2.5** (default): Translation model that translates audio from any spoken Indic language to English. * - Example: Hindi audio → English text output */ model?: SarvamAI.SpeechToTextTranslateModel | undefined; /** * Enables speaker diarization, which identifies and separates different speakers in the audio. * When set to true, the API will provide speaker-specific segments in the response. * Note: This parameter is currently in Beta mode. */ with_diarization?: boolean | undefined; /** Number of speakers to be detected in the audio. This is used when with_diarization is set to true. */ num_speakers?: number | undefined; /** Audio codec/format of uploaded files. The API automatically detects most formats; for PCM files (pcm_s16le, pcm_l16, pcm_raw), you must specify this parameter. PCM files are supported only at 16kHz sample rate. */ input_audio_codec?: SarvamAI.InputAudioCodec | undefined; }