import { Readable, Writable } from 'node:stream';
import { StructuredWriter } from './structuredWriter';
export declare class ZipWriter extends Writable implements StructuredWriter {
    private readonly rootDestination?;
    private zip;
    private zipBuffer?;
    private logger;
    constructor(rootDestination?: string | undefined);
    get buffer(): Buffer;
    addToStore(contents: string | Readable | Buffer, path: string): Promise<void>;
    finalize(): Promise<void>;
    getDestinationPath(): string | undefined;
}
