UNPKG

docx-templates

Version:
7 lines (6 loc) 377 B
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 };