UNPKG

@salesforce/core

Version:

Core libraries to interact with SFDX projects, orgs, and APIs.

15 lines (14 loc) 525 B
/// <reference types="node" /> import { pipeline as cbPipeline, Readable, Writable } from 'stream'; export declare const pipeline: typeof cbPipeline.__promisify__; export declare class ZipWriter extends Writable { private rootDestination?; private zip; private buffers; constructor(rootDestination?: string | undefined); addToZip(contents: string | Readable | Buffer, path: string): void; finalize(): Promise<void>; private getOutputStream; private getInputBuffer; get buffer(): Buffer; }