import type { CellSink } from './mesh'; export interface CellGlbStats { bytes: number; primitives: number; vertices: number; triangles: number[]; yBase: number; } export declare function writeCellGlb(sink: CellSink): Promise<{ bytes: Uint8Array; stats: CellGlbStats; }>; export interface ColliderResult { bytes: Uint8Array; trianglesBefore: number; trianglesAfter: number; errorM: number; } /** * Walkable surface of a cell: prim 0 plus the up-facing triangles of prim 1 (sidewalk tops, medians), welded by position, * simplified at 0.05 m and, if that is not enough, at doubling errors until it fits under the triangle cap. */ export declare function writeColliderGlb(sink: CellSink, maxTriangles?: number): Promise;