/// import * as JSZip from 'jszip'; import Base from '../core/base'; import { Workbook } from '../core/workbook'; interface ZipperOptions { path: string; workbook: Workbook; filename?: string; } /** * @description Zipper for .xmind file */ export declare class Zipper extends Base { zip: JSZip; manifest: any; filename: string; path: string; workbook: Workbook; constructor(options: ZipperOptions); target(): any; /** * @description Saving zip file * @return { Promise } */ save(): Promise; /** * @description Update manifest metadata * @param { String } key - a string key * @param { Buffer } content - file contents * @return { Zipper } */ updateManifestMetadata(key: string, content: Buffer): this; /** * @description add contents to metadata.json file * */ private addMetadataContents; /** * @description add contents to manifest.json */ private addManifestContents; /** * @description add contents to content.json */ private addJSONContent; /** * @description add contents to content.xml */ private addXMLContent; } export {};