import { type OpenGeniText } from "../messages/runtime.js"; import { type ComponentProps } from "react"; import { type RecordingRetention, type RecordingTranscriptionModel, type WorkspaceRecordingSettings } from "@opengeni/contracts"; import { type RecordingsClientOverride } from "../recordings.js"; /** What a model costs and who pays, beside its name in the picker. */ export declare function transcriptionModelMeta(entry: RecordingTranscriptionModel, msg?: OpenGeniText): string; /** Why a model can't be picked yet, and what makes it pickable. */ export declare function transcriptionModelUnavailableReason(entry: RecordingTranscriptionModel, msg?: OpenGeniText): string; /** * "Not supported in EU" when no live model is available and the server * switched them off for the region, otherwise null. */ export declare function liveTranscriptRestriction(liveModels: readonly Pick[], msg?: OpenGeniText): string | null; /** "30 days", "1 year", "2 years". */ export declare function retentionPeriodName(days: number, msg?: OpenGeniText): string; /** * The confirmation for a retention change that deletes what's already * recorded, or null when the change deletes nothing sooner than before. */ export declare function retentionChangeWarning(before: RecordingRetention | undefined, after: RecordingRetention, msg?: OpenGeniText): { title: string; description: string; confirmLabel: string; } | null; /** Who is looking at the settings, so they can agree to have their own voice remembered. */ export type MeetingSettingsViewer = { subjectId: string; name: string; }; declare function MeetingDefaultsViewContent({ workspaceId, settings: current, personal, canManage, viewer, onConnectModels, onSave, recordings, }: { workspaceId: string; settings: WorkspaceRecordingSettings; personal: boolean; canManage: boolean; viewer: MeetingSettingsViewer; onConnectModels?: (() => void) | undefined; /** Saves the whole `recordings` settings; false when a newer change took over. */ onSave: (next: WorkspaceRecordingSettings) => Promise; /** A recordings client to use instead of the app's, for previews. */ recordings?: RecordingsClientOverride["recordings"]; }): import("react").JSX.Element; export declare function MeetingDefaultsView(props: ComponentProps): import("react").JSX.Element; export {};