import { TransformOptions } from 'stream'; import zlib from 'zlib'; export declare class ZipArchive { private readonly _pack; private readonly _gz; constructor(opts?: TransformOptions); get stream(): zlib.Gzip; append(name: string, sourceMap: string): this; finalize(): Promise; }