import type { PlannedBox } from './buildingBoxes'; export interface BlockMesh { /** World-space vertices, 8 per box. */ positions: Float32Array; /** 12 triangles per box. */ indices: Uint16Array | Uint32Array; min: [number, number, number]; max: [number, number, number]; } /** The boxes as one indexed triangle mesh in world coordinates (the box transform baked in). */ export declare function blockMesh(boxes: readonly PlannedBox[]): BlockMesh; /** A minimal, deterministic GLB 2.0: one mesh, one triangle primitive, POSITION + indices, no material, no extensions. */ export declare function blockMeshGlb(mesh: BlockMesh): Uint8Array; export declare const sha256Hex: (bytes: Uint8Array) => string;