export interface IPannellum { destroy: () => void; off: (type: string, listener?: any) => IPannellum; addHotSpot: (hotspot: IHotspot, sceneId?: string) => IPannellum; } export interface IHotspot { id?: number | string; pitch: number; yaw: number; cssClass?: string; createTooltipFunc?: (hotSpotDiv: string, args: string) => void; createTooltipArgs?: string; type?: string; text?: string; URL?: string; clickHandlerFunc?: (event: any, clickHandlerArgs: any) => void; clickHandlerArgs?: any; } interface IStrings { loadButtonLabel: string; loadingLabel: string; bylineLabel: string; noPanoramaError: string; fileAccessError: string; malformedURLError: string; iOS8WebGLError: string; genericWebGLError: string; textureSizeError: string; unknownError: string; } export interface IOptions { type: 'equirectangular' | 'cubemap'; panorama: string; autoLoad?: boolean; title?: string; author?: string; firstScene?: any; default?: any; scenes?: any[]; escapeHTML?: boolean; strings?: IStrings; autoRotate?: number; preview?: string; compass?: boolean; northOffset?: number; cubeMap?: string[]; pitch?: number; yaw?: number; hfov?: number; haov?: number; vaov?: number; vOffset?: number; showControls?: boolean; hotSpots?: IHotspot[]; hotSpotDebug?: boolean; hotspotDebugCallback?: (pitch: number, yaw: number, centerPitch: number, centerYaw: number, hfov: number) => void; } export default function Viewer(container: string | HTMLElement, initialConfig: IOptions): void; export {};