docx-templates
Version:
Template-based docx report creation
7 lines (6 loc) • 377 B
TypeScript
import JSZip from 'jszip';
declare const zipLoad: (inputFile: ArrayBuffer) => Promise<JSZip>;
declare const zipGetText: (zip: JSZip, filename: string) => Promise<string> | null;
declare const zipSetText: (zip: JSZip, filename: string, data: ArrayBuffer) => JSZip;
declare const zipSave: (zip: JSZip) => Promise<Uint8Array>;
export { zipLoad, zipGetText, zipSetText, zipSave };