import { BFast } from "./bfast"; import { G3dMaterial as G3dMaterials } from "./g3d/g3dMaterials"; import { G3dChunk } from './g3d/g3dChunk'; import { G3dScene } from "./g3d/g3dScene"; import { RemoteValue } from "./http/remoteValue"; import { G3dMesh } from "./g3d/g3dMesh"; export declare class RemoteVimx { bfast: BFast; scene: RemoteValue; chunkCache: Map>; constructor(bfast: BFast); /** * Aborts all downloads from the underlying BFAST. */ abort(): void; /** * Downloads underlying bfast making all subsequent request local. */ download(): Promise; private requestScene; getHeader(): Promise; /** * Fetches and returns the vimx G3dScene */ getScene(): Promise; /** * Fetches and returns the vimx G3dMaterials */ getMaterials(): Promise; /** * Fetches and returns the vimx G3dMesh with given index */ getChunk(chunk: number): Promise; private requestChunk; getMesh(mesh: number): Promise; }