import { default as React } from 'react'; import { BasicComponent } from '../../utils/typings'; export interface VideoProps extends BasicComponent { source: { type: string; src: string; }; options: { controls?: boolean; muted?: boolean; autoplay?: boolean; poster?: string; playsinline?: boolean; loop?: boolean; }; onPlay: (element: HTMLVideoElement) => void; onPause: (element: HTMLVideoElement) => void; onPlayEnd: (element: HTMLVideoElement) => void; } export type VideoRef = { pause: () => void; play: () => void; }; export declare const Video: React.ForwardRefExoticComponent & Omit, "onPause" | "onPlay"> & React.RefAttributes>;