import { GLTFWriterOptions } from "../../gltf-writer.js"; import { GLTFWithBuffers } from '@loaders.gl/gltf'; export type GLTFEncodeOptions = Record; /** * Encode the full glTF file as a binary GLB file * Returns an ArrayBuffer that represents the complete GLB image that can be saved to file * * @todo - Does not support encoding to non-GLB versions of glTF format. Other formats * - Encode as a textual JSON file with binary data in base64 data URLs. * - Encode as a JSON with all images (and buffers?) in separate binary files * * glb-file-format-specification * @see https://github.com/KhronosGroup/glTF/tree/master/specification/2.0# * * @param gltf * @param arrayBuffer * @param byteOffset * @param options * @returns */ export declare function encodeGLTFSync(gltf: GLTFWithBuffers, arrayBuffer: DataView | null, byteOffset: number, options: GLTFWriterOptions): number; //# sourceMappingURL=encode-gltf.d.ts.map