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