import type { HlodGeometry } from './types'; import type { HlodSharedAtlas } from './sharedAtlas'; export interface HlodCellGeometry extends HlodGeometry { /** Cluster.nodes index, constant on each triangle. Never interpolates between source owners. */ sources: Uint16Array; } /** Quantized portable geometry, with appearance borrowed from the scene's pinned shared material. */ export declare function writeHlodCellGlb(geometry: HlodCellGeometry, sourceCount: number): Promise<{ bytes: Uint8Array; estimatedBytes: number; quantizationErrorM: number; }>; /** One shared PBR resource. Its tiny carrier mesh is never added to the rendered scene. */ export declare function writeSharedHlodMaterialGlb(atlas: HlodSharedAtlas, compression?: 'png' | 'ktx2'): Promise<{ bytes: Uint8Array; estimatedBytes: number; }>;