import { CBARObject } from "./CBARObject"; import * as THREE from "three"; import { CBARTextureType } from "./CBARMaterial"; import { CBARImage } from "./CBARImage"; import { CBARContext } from "../CBARContext"; import { ImageCrop } from "cambrian-base"; export declare class CBARTexture extends CBARObject { type: CBARTextureType; threeTexture: THREE.Texture | null; canvas?: HTMLCanvasElement; constructor(context: CBARContext, type: CBARTextureType, name?: CBARTextureType); image: CBARImage; path?: string; get imageDimensions(): THREE.Vector2 | undefined; load(basePath: string | undefined, path: string, crop?: ImageCrop): Promise; loadImage(image: CBARImage, greyscale: boolean): boolean; refresh(): void; unload(): void; data(): any; get description(): string; }