import { AbstractPlugin, PluginConstructor, Viewer, TypedEvent } from '@photo-sphere-viewer/core'; /** * Adds stereo view on mobile devices */ declare class StereoPlugin extends AbstractPlugin { static readonly id = "stereo"; static readonly VERSION: string; private readonly state; private compass?; private gallery?; private gyroscope; private map?; private markers?; private plan?; static withConfig(): [PluginConstructor, any]; constructor(viewer: Viewer); /** * Checks if the stereo view is enabled */ isEnabled(): boolean; /** * Enables the stereo view * * - enables wake lock * - enables full screen * - starts gyroscope controle * - hides markers, navbar and panel * - instanciate the stereo effect */ start(): Promise; /** * Disables the stereo view */ stop(): void; /** * Enables or disables the stereo view */ toggle(): void; /** * Enables WakeLock */ private __startWakelock; /** * Disables WakeLock */ private __stopWakelock; /** * Tries to lock the device in landscape or display a message */ private __lockOrientation; /** * Unlock the device orientation */ private __unlockOrientation; } /** * @event Triggered when the stereo view is enabled/disabled */ declare class StereoUpdatedEvent extends TypedEvent { readonly stereoEnabled: boolean; static readonly type = "stereo-updated"; type: 'stereo-updated'; } type StereoPluginEvents = StereoUpdatedEvent; type events_StereoPluginEvents = StereoPluginEvents; type events_StereoUpdatedEvent = StereoUpdatedEvent; declare const events_StereoUpdatedEvent: typeof StereoUpdatedEvent; declare namespace events { export { type events_StereoPluginEvents as StereoPluginEvents, events_StereoUpdatedEvent as StereoUpdatedEvent }; } export { StereoPlugin, events };