/** * The cue still being filled. Each one replaces the previous message with the same * `cue_index` and only adds text at the end, though line breaks may move as the cue * fills. A cue gets zero or more of these before its `committed_subtitle`, so it can * arrive already committed. */ export interface SubtitlingPartialSubtitle { messageType: "partial_subtitle"; /** The cue's position in the session, counting from 0. */ cueIndex: number; /** The cue's text, one entry per line. */ lines: string[]; /** When to show the cue, in milliseconds since the session_started message. It doesn't change after the cue's first message. */ startMs: number; }