import type { SplatData } from '../../core/splat-data'; /** Vertices whose `f_rest_*` values fix the approximate-stream SH range. */ export declare const APPROXIMATE_SH_SAMPLE_LIMIT = 65536; export interface RemotePlyMetrics { mode: 'exact-stream' | 'approximate-sh-stream'; inputBytes: number; peakInputBytes: number; /** Explicit input/scratch backing buffers, including second-pass reads; * excludes decoded output, browser queues, disk caches and GC-retained garbage. */ inputAccountingVersion: 2; temporaryDiskBytes: number; shExtent: number; clippedCoefficients: number; clippedSplats: number; bufferedFallback: boolean; } export interface RemotePlyResult { data: SplatData; metrics: RemotePlyMetrics; } /** * Incrementally decodes uncompressed fixed-stride PLY records through a reusable * window (64 MiB by default). Input accounting includes header storage, response * buffers and optional SH sampling or disk-read scratch. Final decoded arrays * are deliberately separate from that peak. */ export declare function parseSplatPlyRemote(response: Response, options: { mode: 'exact-stream' | 'approximate-sh-stream'; signal: AbortSignal; resourceId?: string; windowBytes?: number; /** Test seam: production approximate SH still samples 65,536 vertices. */ sampleLimit?: number; onProgress?: (loaded: number, total: number) => void; }): Promise;