import React from 'react'; import { EVENTS } from 'griffith-message'; import { PlaybackRate, Quality, PlaySource, ProgressValue } from '../types'; type NativeVideoProps = Omit, 'ref'>; type VideoProps = NativeVideoProps & { format: string; paused?: boolean; useMSE?: boolean; volume: number; currentQuality?: Quality; sources?: PlaySource[]; onLoadingChange?: (isLoading: boolean) => void; onDurationUpdate: (duration: number) => void; onProgressUpdate: (value: ProgressValue[]) => void; onCurrentTimeUpdate: (time: number, isRaf: boolean) => void; onError: (...args: any[]) => any; onEvent: (name: EVENTS, data?: unknown) => void; currentPlaybackRate: PlaybackRate; useAutoQuality?: boolean; }; type InjectedProps = 'src' | 'format' | 'sources' | 'currentQuality' | 'currentPlaybackRate'; declare const _default: React.ForwardRefExoticComponent & React.RefAttributes>; export default _default;