import "./capture_sources.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type SelectOption } from "./select"; import { type StyleProps } from "./style_props"; import { type CaptureSourcesValue } from "./capture_selection"; export interface CaptureSourcesProps extends StyleProps { /** Seed it with `DEFAULT_CAPTURE_SOURCES`. */ value: CaptureSourcesValue; onChange: (value: CaptureSourcesValue) => void; /** Product data, so passed in; the first choice is auto-detect (`language: null`). */ languages: readonly SelectOption[]; /** * `getDisplayMedia` exists. Without it only the microphone is offered: system sound and screen * both come from that share. */ displayCapture: boolean; /** While a Start is being acquired; a second change would race it. */ disabled?: boolean; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * Microphone, system sound and screen as three switches, the video size once the screen is kept, * and the language. It says what a hand-rolled picker forgets: no audio means nothing to * transcribe, a share dialog is about to open and which surface carries sound, and a browser * without screen share has only the microphone. It draws no Start: the verb is the caller's. */ export declare function CaptureSources(props: CaptureSourcesProps): React.ReactElement>;