import { CBARObject } from "./CBARObject"; import { CBARContext } from "../CBARContext"; import { ImageCrop } from "cambrian-base"; export declare class CBARImage extends CBARObject { name?: string | undefined; constructor(context: CBARContext, name?: string | undefined); image: HTMLImageElement; path?: string; relativePath?: string; isJPEG: boolean; load(basePath: string | undefined, path: string, crop?: ImageCrop): Promise; get crossOrigin(): string | null; set crossOrigin(value: string | null); get width(): number; get height(): number; get area(): number; data(): any; get description(): string; unload(): void; }