UNPKG

r2-utils-js

Version:

Readium 2 'utils' for NodeJS (TypeScript)

16 lines (15 loc) 519 B
import { IStreamAndLength, IZip, Zip } from "./zip"; export declare class Zip3 extends Zip { readonly filePath: string; readonly zip: any; static loadPromise(filePath: string): Promise<IZip>; private static loadPromiseHTTP; private entries; private constructor(); freeDestroy(): void; entriesCount(): number; hasEntries(): boolean; hasEntry(entryPath: string): boolean; getEntries(): Promise<string[]>; entryStreamPromise(entryPath: string): Promise<IStreamAndLength>; }