import type * as ElevenLabs from "../index"; /** * With diarize, a committed transcript's words with their final speakers, sent after * its committed_transcript (which never waits for them), in commit order. */ export interface DiarizedTranscript { messageType?: "diarized_transcript"; /** The segment_index of the committed_transcript the words are of. */ segmentIndex: number; /** The committed transcript text the words are of. */ text: string; /** The words, as in batch diarization, each with its speaker_id, null where the speaker could not be identified. */ words: ElevenLabs.DiarizedTranscriptWordsItem[]; }