/** What the panel knows about an asset, reduced to what there is to draw. */ export type AssetViewerKind = 'glb' | 'vxl'; export interface AssetViewerOptions { /** The element to fill. Sized by CSS; the viewer follows it. */ container: HTMLElement; /** The GLB or VXL to show. For `vxl` this is fetched through the sidecar, not directly. */ url: string; kind: AssetViewerKind; /** Where to fetch bytes from, so the caller can point this at its own origin. */ sourceEndpoint: string; } export interface AssetViewerHandle { /** Back to the angle the thumbnail was rendered at. */ resetView(): void; /** Triangles in the loaded object — the one number that says "this is a heavy asset". */ readonly triangles: number; dispose(): void; } export declare function startAssetViewer(options: AssetViewerOptions): Promise;