import React, { RefObject } from 'react'; import Hls from 'hls.js'; import Config from 'hls.js'; export interface HlsPlayerProps extends React.VideoHTMLAttributes { hlsConfig?: Config; playerRef: RefObject; getHLSRef?: (hlsObj: Hls) => void; src: string; } declare function ReactHlsPlayer({ hlsConfig, playerRef, getHLSRef, src, autoPlay, ...props }: HlsPlayerProps): JSX.Element; export default ReactHlsPlayer;