/** * PTS / XYZ streaming source — whole-file ASCII decode. * * ASCII formats don't support random-access seek by point index, so * we read the whole blob, decode once, and serve as a single chunk. * Memory is still bounded by the host's 25M-point cap via the * `stride` downsample applied here. * * The whole-file approach is simpler and matches PLY's behaviour; * for files past the cap we apply stride downsampling on the way * out so the GPU upload stays bounded. */ import type { DecodedPointChunk } from '../types.js'; import { type AsciiPointsFormat } from '../formats/ascii-points.js'; import type { DownsampleHint, PointSourceInfo, StreamingPointSource } from './types.js'; export declare class AsciiPointsStreamingSource implements StreamingPointSource { private blob; private format; private downsample; private label?; private chunk; private served; constructor(blob: Blob, format: AsciiPointsFormat, options?: { label?: string; downsample?: DownsampleHint; }); open(signal?: AbortSignal): Promise; next(maxPoints: number, signal?: AbortSignal): Promise; close(): void; } //# sourceMappingURL=ascii-points-source.d.ts.map