import { type Document } from '@gltf-transform/core'; /** * Drops a COLOR_0 stream that is the identity everywhere (every component at its maximum). glTF multiplies COLOR_0 into the * base colour, so an all-white stream changes nothing but costs 12 bytes per vertex: Unreal's FBX export writes one on every * LOD (1.3 MB of a 5.2 MB Cargo Pants web GLB). A stream that carries any real tint is kept. */ export declare function stripNeutralVertexColor(document: Document): number; export interface WebGeometryReport { strippedColor: number; } /** * The web GLB's geometry as it ships: neutral vertex colour dropped, vertices welded (the rebake route leaves one vertex per * chart corner), streams reordered and stored with EXT_meshopt_compression. Compression only, no KHR_mesh_quantization: the * backend's rig-fix and draw-call passes read positions as floats (see `encodeForWeb`). Write with `webWriterIo`. */ export declare function compactGeometryForWeb(document: Document): Promise;