export declare const sha256Hex: (data: Uint8Array) => string; export interface GlbInfo { vertices: number; indices: number; /** Decoded CPU backing bytes of every accessor, counted once. */ accessorBytes: number; } /** The JSON chunk of a GLB. */ export declare function glbJson(bytes: Uint8Array): { accessors?: Array<{ count: number; type: string; componentType: number; }>; meshes?: Array<{ primitives: Array<{ attributes: Record; indices?: number; }>; }>; [k: string]: unknown; }; export declare function inspectGlb(bytes: Uint8Array): GlbInfo; /** * A static collider rebuilt from a quantised, meshopt-compressed GLB (a building cell's box level, a road cell's collider). * The engine refuses meshopt in a collider (`runtime/colliderAdmission.ts`), so the geometry is decoded and rewritten with * plain 16-bit quantised positions (`KHR_mesh_quantization`), keeping the node's translation and scale so cell-local * coordinates survive. Positions may be normalised (box level) or raw lattice units (road collider); the flag is kept. */ export declare function colliderFromQuantizedGlb(source: Uint8Array): Promise<{ bytes: Uint8Array; triangles: number; }>; /** A building cell's collider: the box level's triangles and nothing else. */ export declare const colliderFromBoxLevel: typeof colliderFromQuantizedGlb; /** World bounds of a quantised cell GLB: the first mesh node's translation and scale over its POSITION accessor min/max. */ export declare function quantizedGlbWorldBounds(bytes: Uint8Array): { min: [number, number, number]; max: [number, number, number]; }; /** * The one shared HLOD material resource: a never-drawn carrier mesh whose single opaque PBR material carries * `HELIX_materials_city {kind: "facade"}` over a plain base. It has the same vertex attributes as the far cells that borrow * it, so the loader specialises the material identically (vertex colours, `_FACADE`). */ export declare function facadeMaterialCarrierGlb(baseColor: [number, number, number]): Promise<{ bytes: Uint8Array; estimatedBytes: number; }>;