export type ArchiveInventoryEntry = { path: string; compressedSize: number; uncompressedSize: number; directory: boolean; }; export type ArchiveLimits = { maxEntries: number; maxEntryBytes: number; maxTotalBytes: number; maxCompressionRatio: number; }; export declare const DEFAULT_ARCHIVE_LIMITS: ArchiveLimits; export type ArchiveInventory = { sha256: string; entries: ArchiveInventoryEntry[]; compressedBytes: number; uncompressedBytes: number; }; export declare function assertSafeArchiveEntries(entries: readonly ArchiveInventoryEntry[], limits?: ArchiveLimits): void; export declare function sha256File(path: string): Promise; export declare function inventorySourceArchive(path: string, expectedSha256: string, limits?: ArchiveLimits): Promise; export declare function extractArchiveMembers(input: { archivePath: string; expectedSha256: string; members: readonly string[]; outputDir: string; limits?: ArchiveLimits; }): Promise>; export declare function prepareSafeExtractionOutput(outputDir: string): Promise;