import { type ArchiveEntryView } from './archiveShared.js'; type JSZipLike = { loadAsync(data: ArrayBuffer, options?: { decodeFileName?: (bytes: Uint8Array | number[]) => string; }): Promise<{ forEach(callback: (relativePath: string, file: { dir?: boolean; date?: Date; async(type: 'arraybuffer'): Promise; }) => void): void; }>; }; export declare const decodeZipFilename: (bytes: Uint8Array | number[]) => string; export declare const resolveJSZip: (module: unknown) => JSZipLike; export declare const hasLikelyGbkZipFilenames: (data: ArrayBuffer, filename: string) => boolean; export declare const isLikelyEncryptedArchive: (data: ArrayBuffer, filename: string) => boolean; /** * Worker fallback for constrained browsers, temporary local servers, and * mobile WebViews. The main libarchive path still covers broader formats; * this covers common ZIP/TAR/GZIP archives without an extra static Worker. */ export declare const loadArchiveEntriesWithoutWorker: (data: ArrayBuffer, filename: string) => Promise; export {};