import { type Document } from '@gltf-transform/core'; import type { HelixSceneV2, SceneBounds, SceneNode, SceneVec3 } from '@hypersoniclabs/helix-manifest'; import type { HlodMaterial, HlodSurface } from './types'; export declare const hlodDigest: (bytes: Uint8Array | string) => string; export declare const hlodSourceResourceId: (node: SceneNode) => string | undefined; /** Scene bundle input stays inside its real directory, including across symlinks/junctions. No network or credentials. */ export declare function hlodLocalPath(root: string, uri: string): Promise; export declare function readHlodGlb(bytes: Uint8Array): Promise; /** The glTF node extra that marks an authored low-detail shell (CS2's own LOD2): it is the HLOD's shape, never part of the appearance surface. */ export declare const HLOD_PROXY_EXTRA = "helixHlodProxy"; /** An authored proxy shell in cluster-local metres: positions and triangles only (appearance is projected from the surface). */ export interface HlodProxyShape { kind: string; positions: Float32Array; indices: Uint32Array; } export interface HlodClusterSource { surface: HlodSurface; materials: HlodMaterial[]; bounds: SceneBounds; drawCalls: number; sourceBytes: number; proxy?: HlodProxyShape; } /** Normalize exactly the selected nodes, with scene ancestry and glTF transforms baked into cluster-local metres. */ export declare function readHlodClusterSource(scene: HelixSceneV2, root: string, ids: string[], origin: SceneVec3, signal?: AbortSignal): Promise;