/** * Create a tar.gz archive from a list of file descriptors. * For in-memory content (like _metadata.json), writes temp files first. */ export declare function createArchive(files: Array<{ name: string; content?: Buffer | string; sourcePath?: string; }>, outputPath: string): Promise; /** * Extract a tar.gz archive to a destination directory. */ export declare function extractArchive(archivePath: string, destDir: string): Promise; /** * Read a single file from a tar.gz archive. * Returns the file content as a Buffer, or null if not found. */ export declare function readFileFromArchive(archivePath: string, filename: string): Promise; /** * List all entries in a tar.gz archive. */ export declare function listArchiveEntries(archivePath: string): Promise;