import React from 'react'; import { BoxProps } from '@mui/material'; export interface VideoProps extends BoxProps<'video'> { /** The URL of the video to embed. */ src?: string; /** video type property, @default "video/mp4" */ type?: string; /** The message (or component) to display if the video cannot be loaded, @default centered inside the Box */ noVidErrorMessage?: React.ReactNode; /** Custom source Box props. */ sourceProps?: BoxProps<'source'>; /** Image to be shown while the video is downloading or until the user hits the play button. */ poster?: string; /** Video element autoPlay, @default true */ autoPlay?: boolean; /** Video element muted, @default true */ muted?: boolean; /** Video element native browser controls, @default false */ controls?: boolean; /** Video element loop, @default false */ loop?: boolean; } /** * The Video component is a customizable video player built with React and Material-UI. * It extends the Box component from Material-UI and provides various props to control video playback and appearance. * If children are provided, they are rendered inside the video element as source elements. * If no children are provided, a default source element is used based on the src prop. * @param videoRef - A reference to the video element. */ export declare const Video: React.FC;