export type ZipCompression = 'STORE' | 'DEFLATE'; export type ZipEntryInfo = { name: string; isDirectory: boolean; compressedSize: number; uncompressedSize: number; }; export declare class DocxZip { private zip; private constructor(); static load(buffer: Buffer): Promise; readText(path: string): Promise; readTextOrNull(path: string): Promise; writeText(path: string, text: string): void; hasFile(path: string): boolean; listFiles(): string[]; toBuffer(): Promise; } export declare function createZipBuffer(files: Record, opts?: { compression?: ZipCompression; compressionLevel?: number; fileDate?: Date; }): Promise; export declare function readZipText(buffer: Buffer, path: string): Promise; export declare function inspectZipEntries(buffer: Buffer): Promise; //# sourceMappingURL=zip.d.ts.map