export type RawEventNames = { readonly requestFullscreen: string; readonly exitFullscreen: string; readonly fullscreenElement: string; readonly fullscreenEnabled: string; readonly fullscreenchange: string; readonly fullscreenerror: string; }; export type EventName = 'change' | 'error'; /** Simple wrapper for cross-browser usage of the JavaScript [Fullscreen API](https://developer.mozilla.org/en/DOM/Using_full-screen_mode), which lets you bring the page or any element into fullscreen. Smoothens out the browser implementation differences, so you don't have to. */ declare const screenfull: { /** Whether fullscreen is active. */ readonly isFullscreen: boolean; /** The element currently in fullscreen, otherwise `undefined`. */ readonly element: Element | undefined; /** Whether you are allowed to enter fullscreen. If your page is inside an `