import { AViewerPluginEventMap, AViewerPluginSync } from '../../viewer'; export interface FullScreenPluginEventMap extends AViewerPluginEventMap { enter: object; exit: object; } /** * Full Screen Plugin * * A simple plugin that provides functions to {@link enter}, {@link exit}, {@link toggle} full screen mode and check if the viewer is in full screen mode with {@link isFullScreen}. * * Implementation from: * https://stackoverflow.com/questions/50568474/how-to-enter-fullscreen-in-three-js * * @todo: try out some lib like https://github.com/sindresorhus/screenfull for proper cross browser support * @category Plugins */ export declare class FullScreenPlugin extends AViewerPluginSync { static readonly PluginType = "FullScreenPlugin"; toJSON: any; enabled: boolean; constructor(); private _lastSize; private _lastFsElement; private _fsChangeHandler; enter(element?: HTMLElement): Promise; exit(): Promise; toggle(element?: HTMLElement): Promise; isFullScreen(): any; } //# sourceMappingURL=../../src/plugins/interaction/FullScreenPlugin.d.ts.map