2025-10-01 19:55:38 +02:00

7 lines
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 };