import { IEventEmitter } from "./IEventEmitter2"; import { ICommandService } from "./ICommands"; import { Options } from "./Options"; import { Client } from "../Api/Client"; import { File } from "../Api/File"; import { Assembly } from "../Api/Assembly"; import { Model } from "../Api/Model"; export interface IViewer extends IEventEmitter, ICommandService { client: Client | undefined; options: Options; canvas: HTMLCanvasElement | undefined; canvasEvents: string[]; draggers: string[]; initialize(canvas: HTMLCanvasElement, onProgress?: (event: ProgressEvent) => void): Promise; dispose(): this; isInitialized(): boolean; update(forder?: boolean): void; activeDragger(): any | null; setActiveDragger(name: string): any; resetActiveDragger(): void; is3D(): boolean; loadReferences(model: Model | File | Assembly): Promise; open(model: Model | File | Assembly): Promise; cancel(): this; clear(): this; } //# sourceMappingURL=IViewer.d.ts.map