import type { DriverInterface, Encoding, FileStats } from "./interface"; import type { Readable } from "node:stream"; /** * ZipFileDriver is a Driver for a zip file */ export declare class ZipFileDriver implements DriverInterface { private readonly _buffer; constructor(buffer: Buffer); fileList(): Promise; stat(fileName: string): Promise; private _entriesCache?; cacheEntries(): Promise; statSync(fileName: string): FileStats; readFile(fileName: string): Promise; readFile(fileName: string, encoding: Encoding): Promise; openReadStream(fileName: string): Promise; writeFile(_fileName: string, _data: string | Buffer): Promise; get buffer(): Buffer; private unzip; private entry; private entries; }