/** * WHAT A RECORDING TAKES, and the one mapping from what a person switched on. No stylesheet, so the * capture engine reads these types without importing a component. */ /** An enum, so "neither" (nothing transcribable) is not expressible. */ export type CaptureAudio = "mic" | "system" | "both"; export interface CaptureSelection { audio: CaptureAudio; screen: boolean; } /** `original` applies no size constraint. */ export type VideoQuality = "original" | "1080p" | "720p" | "480p"; /** `language: null` is auto-detect. */ export interface CaptureSourcesValue { microphone: boolean; systemSound: boolean; screen: boolean; quality: VideoQuality; language: string | null; } export declare const DEFAULT_CAPTURE_SOURCES: CaptureSourcesValue; /** `null` when no audio source is on: there is nothing to transcribe. */ export declare function toCapture(value: CaptureSourcesValue): CaptureSelection | null; export declare function needsDisplayShare(capture: CaptureSelection): boolean;