/// <reference types="node" />
import { pipeline as cbPipeline, Readable, Writable } from 'stream';
export declare const pipeline: typeof cbPipeline.__promisify__;
export declare class ZipWriter extends Writable {
    private rootDestination?;
    private zip;
    private buffers;
    constructor(rootDestination?: string | undefined);
    addToZip(contents: string | Readable | Buffer, path: string): void;
    finalize(): Promise<void>;
    private getOutputStream;
    private getInputBuffer;
    get buffer(): Buffer;
}
