interface DocumentWithFullscreen extends HTMLDocument { msFullscreenElement?: Element; msFullscreenEnabled?: boolean; msExitFullscreen?: () => Promise; mozFullScreenElement?: Element; mozFullscreenEnabled?: boolean; mozCancelFullScreen?: () => Promise; webkitFullscreenElement?: Element; webkitFullscreenEnabled?: boolean; webkitExitFullscreen?: () => Promise; } interface DocumentElementWithFullscreen extends HTMLElement { msRequestFullscreen?: () => Promise; mozRequestFullScreen?: () => Promise; webkitRequestFullscreen?: () => Promise; } export declare const requestFullscreen: (element: DocumentElementWithFullscreen) => Promise; export declare const exitFullscreen: (doc: DocumentWithFullscreen) => Promise; export declare const isSupported: (doc: DocumentWithFullscreen, isIOS?: boolean) => boolean; export declare const exitIosSafariVideoElementFullscreen: (videoElement: HTMLVideoElement) => void; export declare const getDocumentFullscreenElement: () => Element | undefined; export declare const checkIsFullscreen: () => boolean; export declare const registerFullscreenChangeEvent: (callback: () => void) => void; export declare const removeFullscreenChangeEvent: (callback: () => void) => void; export declare const requestLockScreenOrientation: (videoSize?: { width: number; height: number; }) => Promise; export {};