/// <reference types="node" />
/// <reference types="node" />
import { Readable } from 'stream';
import { StructuredWriter } from './structuredWriter';
export declare class DirectoryWriter implements StructuredWriter {
    private readonly rootDestination?;
    constructor(rootDestination?: string | undefined);
    get buffer(): Buffer;
    addToStore(contents: string | Readable | Buffer, targetPath: string): Promise<void>;
    finalize(): Promise<void>;
    getDestinationPath(): string | undefined;
}
