UNPKG

290 BTypeScriptView Raw
1/// <reference types="node" />
2import { Readable } from 'stream';
3export interface StructuredWriter {
4 addToStore(contents: string | Readable | Buffer, path: string): Promise<void>;
5 finalize(): Promise<void>;
6 getDestinationPath(): string | undefined;
7 get buffer(): Buffer;
8}