import { BFast } from "./bfast"; import { G3dMaterial as G3dMaterials } from "./g3dMaterials"; import { G3dMesh } from "./g3dMesh"; import { G3dScene } from "./g3dScene"; import { RemoteValue } from "./remoteValue"; export declare class RemoteGeometry { bfast: BFast; scene: RemoteValue; sceneRaw: RemoteValue; constructor(bfast: BFast); static fromPath(path: string): Promise; /** * Aborts all downloads from the underlying BFAST. */ abort(): void; /** * Downloads underlying bfast making all subsequent request local. */ download(): Promise; /** * Fetches and returns the vimx G3dMeshIndex */ private requestIndex; private requestIndexRaw; getIndex(): Promise; getIndexRaw(): Promise; /** * Fetches and returns the vimx G3dMaterials */ getMaterials(): Promise; /** * Fetches and returns the vimx G3dMesh with given index */ getMesh(mesh: number): Promise; /** * Fetches and returns the vimx G3dMaterials */ getMaterialsRaw(): Promise; /** * Fetches and returns the vimx G3dMesh with given index */ getMeshRaw(mesh: number): Promise; }