/** * The live transcript preview: what is being said while a meeting is * recorded, one turn per stretch of speech on a track. It is a preview; the * meeting's real transcript (with speakers told apart) replaces it once the * recording is done. */ import { type OpenGeniText } from "../messages/runtime.js"; import type { RecordingTrack } from "@opengeni/contracts"; import { groupLiveTurns, tidyLiveText, tidyPartialText, type LiveTranscriptLine } from "../recordings.js"; export { groupLiveTurns, tidyLiveText, tidyPartialText, type LiveTranscriptLine }; export declare function LiveTranscript({ lines, partials, tracks, speakerName, status, empty, heading, className, }: { lines: readonly LiveTranscriptLine[]; /** Words still being heard per track, which may change. */ partials?: readonly { trackNumber: number; text: string; }[]; /** * The recording's tracks. With computer or tab audio beside the * microphone, the microphone's echo of the others is left out. */ tracks?: readonly { trackNumber: number; source: RecordingTrack["source"]; }[]; speakerName: (trackNumber: number) => string; /** A short line about the connection, such as reconnecting. */ status?: { text: string; tone: "muted" | "waiting"; } | null; /** Shown before anything has been said. */ empty: string; /** Show the "Live transcript ยท preview" heading; off where the page already has one. */ heading?: boolean; className?: string; }): import("react").JSX.Element; /** The local recorder's live state as the panel's status line, or null when all is well. */ export declare function liveStatus(tracks: readonly { state: string; error: { message: string; } | null; }[], msg?: OpenGeniText): { text: string; tone: "muted" | "waiting"; } | null;