import { PakDirectoryEntry } from './pak.js'; /** * Read PAK file in chunks, streaming file contents on demand. * Uses the Blob interface which is supported by File in browsers. */ export declare class StreamingPakArchive { private readonly source; private entries; constructor(source: Blob); /** * Read directory asynchronously. * Caches the result so subsequent calls are fast. */ readDirectory(): Promise; /** * Stream file contents on demand. * Returns a ReadableStream of Uint8Array. */ readFile(path: string): Promise>; /** * Get file as a Blob without loading entire file into memory. */ getFileBlob(path: string): Promise; private getEntry; private readChunk; private readCString; } //# sourceMappingURL=streamingPak.d.ts.map