export interface IViewer { loadScene(url: string, onProgress?: (progress: number) => void): Promise; dispose(): void; capture(): Promise; getStats(): { name: string; value: any }[]; }