UNPKG

507 BTypeScriptView Raw
1/// <reference types="node" />
2/// <reference types="node" />
3import { Readable } from 'stream';
4import { StructuredWriter } from './structuredWriter';
5export 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}