import type { ArchiveFormat, ArchiveLimits, SafetyProfile } from './types.js'; import type { RandomAccess } from '../reader/RandomAccess.js'; import { type EocdResult } from '../reader/eocd.js'; export type ZipPreflightLimits = { maxCentralDirectoryBytes: number; maxEntries: number; maxCommentBytes: number; maxEocdSearchBytes: number; }; export declare function resolveZipPreflightLimits(limits?: ArchiveLimits, safetyProfile?: SafetyProfile): ZipPreflightLimits; export declare function shouldPreflightZip(format: ArchiveFormat | 'auto' | undefined, filename?: string): boolean; export declare function isZipSignature(bytes: Uint8Array): boolean; export declare function preflightZip(reader: RandomAccess, options: { strict: boolean; limits: ZipPreflightLimits; signal?: AbortSignal; }): Promise; //# sourceMappingURL=zipPreflight.d.ts.map