import type { LodSourceOptions, StreamedScene } from '../../streaming/lod-source'; import { type LccManifest } from './parse-lcc'; import { type SplatRequestOptions } from '../../loaders/loading'; import type { SplatDatasetSource } from '../../streaming/dataset-source'; /** Options for {@link buildLccScene} beyond the shared LOD knobs. */ export interface LccSceneOptions extends LodSourceOptions { /** * Higher-order SH bands to stream for a `Quality` capture: 0 disables SH * (nothing is fetched from `shcoef.bin`), 3 is the full 3rd order. * Unset means every band the capture carries. Always clamped to that - * a `Portable` capture has none, whatever is asked for. */ shBands?: 0 | 1 | 2 | 3; signal?: AbortSignal; request?: SplatRequestOptions; } /** * Builds a streamed scene from a parsed `.lcc` manifest, fetching the small * sidecars (`index.bin`, and `environment.bin`'s size) it needs to lay out * chunks. `data.bin` itself is never fetched here. * * @param json - The parsed `.lcc` manifest. * @param source - Dataset used to resolve and fetch the manifest's sidecars. * @param options - LOD, request, cancellation, and spherical-harmonic options. */ export declare function buildLccScene(json: unknown, source: SplatDatasetSource, options: LccSceneOptions): Promise; /** Bytes per `environment.bin` record: Quality interleaves a 64-byte SH block. */ export declare function environmentStride(manifest: LccManifest): number;