import * as React from "react"; export type MediaTrack = { src: string; kind?: React.TrackHTMLAttributes["kind"]; srcLang?: string; label?: string; default?: boolean; }; export type MediaPlayerProps = Omit, "controls" | "children" | "onTimeUpdate" | "onVolumeChange"> & { src: string; title?: React.ReactNode; description?: React.ReactNode; tracks?: MediaTrack[]; actions?: React.ReactNode; aspectRatio?: "video" | "square" | "wide" | string; showMeta?: boolean; onTimeChange?: (time: number, duration: number) => void; onVolumeValueChange?: (volume: number, muted: boolean) => void; }; declare function MediaPlayer({ src, title, description, tracks, actions, aspectRatio, showMeta, poster, autoPlay, muted: mutedProp, loop, playsInline, preload, onTimeChange, onVolumeValueChange, className, ...props }: MediaPlayerProps): React.JSX.Element; export { MediaPlayer };