import { Transform, Document, Primitive, Mesh } from "@gltf-transform/core"; import { SimplifyOptions, WeldOptions } from "@gltf-transform/functions"; import { NEEDLE_mesh_compression_model_root } from "../extensions/index.js"; import { Config } from "../config/index.js"; declare type MeshTransformContext = { file: string; config: Config; }; /** * Which compression type for a model should be used. This should be respected when creating LOD meshes and the appropriate extension should be added to the LOD mesh so it receives the same mesh compression as the parent mesh */ export declare function determineMeshCompression(document: Document, filePath: string): NEEDLE_mesh_compression_model_root; export declare const needle_mesh_transform: (context: MeshTransformContext) => Transform; export declare function compressPrimitive(document: Document, mesh: Mesh, prim: Primitive, index: number, weldOptions: Required, meshOptions: Required): Promise; export {};