export interface TarItem { name: string; buffer: ArrayBuffer; } /** * Parses the content of a (decompressed) TAR archive and returns its regular file entries. * * This is a minimal, dependency-free reader that works in both the browser and Node.js. It handles long entry * names from the USTAR `prefix` field, GNU long name (`L` type flag) entries, and PAX extended headers (`x` type * flag), and skips directories and other non-regular entries. * * @param data - The decompressed TAR archive content. * @returns The regular file entries with their name and content. */ export declare function readTarItems(data: Uint8Array): TarItem[]; /** * Unpacks the .tar.gz (odbx format) file and returns the items. * * Works in both the browser and Node.js: decompression uses `fflate` and the TAR archive is read by * {@link readTarItems}, so it does not depend on any browser-only API. * * @param data - The .tar.gz (odbx format) file. * @returns - The items in the .tar.gz file. */ export declare function unpackBundle(data: Blob | ArrayBuffer): Promise<{ hasCache: boolean; images: any; items: TarItem[]; packages: TarItem[]; }>;