import type * as ElevenLabs from "../index"; /** * Chunk-level detail of the transcription with timing information. */ export interface SpeechToTextChunkResponseModel { /** The detected language code (e.g. 'eng' for English). */ languageCode: string; /** The confidence score of the language detection (0 to 1). */ languageProbability: number; /** The raw text of the transcription. */ text: string; /** List of words with their timing information. */ words: ElevenLabs.SpeechToTextWordResponseModel[]; /** The channel index this transcript belongs to (for multichannel audio). */ channelIndex?: number; /** Requested additional formats of the transcript. */ additionalFormats?: (ElevenLabs.AdditionalFormatResponseModel | undefined)[]; /** The transcription ID of the response. */ transcriptionId?: string; /** List of detected entities with their text, type, and character positions in the transcript. */ entities?: ElevenLabs.DetectedEntity[]; }