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