///
///
import * as JSZip from 'jszip';
export declare function zipFilesByList(zipPath: string, filesToZip: string[]): Promise;
/**
* Adds a file by absolute path to the zip
* @param zip the zip instance
* @param zipPath
* if zipPathRelativeToFilePath, absolute path to the zip's root
* else the path inside the zip
* @param filePath the absolute path to the file to get the content from
* @param zipPathRelativeToFilePath if true, the file will be added to the zip with a path relative to the zipPath's folder, if false, the path inside the zip will be just the zipPath
* @returns void; don't forget to run closeZip to get the zip
*/
export declare function addFileToZip(zip: JSZip, zipPath: string, filePath: string, zipPathRelativeToFilePath?: boolean, progressCallback?: undefined | (() => void)): void;
export declare function addDataToZip(zip: JSZip, content: string | Buffer, relativePathInZip: string): void;
/** Wrapper - create an object to zip */
export declare function createZip(): JSZip;
/** Wrapper - finish the zipping */
export declare function closeZip(zip: JSZip, zipPath: string): Promise;