import * as React from 'react'; import * as THREE from 'three'; import { type default as Hls } from 'hls.js'; declare function getHls(...args: ConstructorParameters): Promise; export declare function useVideoTexture(srcOrSrcObject: HTMLVideoElement['src' | 'srcObject'], { unsuspend, start, hls: hlsConfig, crossOrigin, muted, loop, playsInline, onVideoFrame, ...videoProps }?: { unsuspend?: keyof HTMLVideoElementEventMap; start?: boolean; hls?: Parameters[0]; onVideoFrame?: VideoFrameRequestCallback; } & Partial>): THREE.VideoTexture; type UseVideoTextureParams = Parameters; type VideoTexture = ReturnType; export type VideoTextureProps = { children?: (texture: VideoTexture) => React.ReactNode; src: UseVideoTextureParams[0]; } & UseVideoTextureParams[1]; export declare const VideoTexture: React.ForwardRefExoticComponent<{ children?: (texture: VideoTexture) => React.ReactNode; src: UseVideoTextureParams[0]; } & { unsuspend?: keyof HTMLVideoElementEventMap; start?: boolean; hls?: Parameters[0]; onVideoFrame?: VideoFrameRequestCallback; } & Partial> & React.RefAttributes>; export {};