/** * Copyright (c) 2021-2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Sukolsak Sakshuwong * @author Alexander Rose */ import { Box3D } from '../../mol-math/geometry.js'; import { RuntimeContext } from '../../mol-task/index.js'; import { MeshExporter, AddMeshInput } from './mesh-exporter.js'; export type GlbData = { glb: Uint8Array; }; export declare class GlbExporter extends MeshExporter { readonly fileExtension = "glb"; private nodes; private meshes; private materials; private materialMap; private accessors; private bufferViews; private binaryBuffer; private byteOffset; private centerTransform; private static vec3MinMax; private addBuffer; private addGeometryBuffers; private addColorBuffer; private addMaterial; protected addMeshWithColors(input: AddMeshInput): Promise; getData(): Promise<{ glb: Uint8Array; }>; getBlob(ctx: RuntimeContext): Promise; constructor(boundingBox: Box3D); }