import { Readable } from 'node: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;
}
