/** * Stream Assembler Module * Creates ReadableStreams for progressive chunk delivery */ import type { ChunkWithOffsets, ChunkManifest, StreamConfig } from './types.js'; /** * Creates a ReadableStream that progressively delivers chunk data * This enables zero-memory streaming without buffering the entire response * * @param chunks - Array of chunks with calculated slice offsets * @param config - Stream configuration * @returns ReadableStream that yields chunk data progressively */ export declare function createRangeStream(chunks: ChunkWithOffsets[], config: StreamConfig): ReadableStream; /** * Creates a stream for the entire file (non-range request) * @param manifest - Chunk manifest for the file * @param config - Stream configuration * @returns ReadableStream that delivers the full file progressively */ export declare function createFullFileStream(manifest: ChunkManifest, config: StreamConfig): ReadableStream; //# sourceMappingURL=StreamAssembler.d.ts.map