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