/// declare namespace screenfull { type RawEventNames = { readonly requestFullscreen: string; readonly exitFullscreen: string; readonly fullscreenElement: string; readonly fullscreenEnabled: string; readonly fullscreenchange: string; readonly fullscreenerror: string; }; type EventName = 'change' | 'error'; interface Screenfull { /** Whether fullscreen is active. */ readonly isFullscreen: boolean; /** The element currently in fullscreen, otherwise `null`. */ readonly element: Element | null; /** Whether you are allowed to enter fullscreen. If your page is inside an `