import type { RandomAccess } from '../reader/RandomAccess.js'; import { type ArchiveZipDetection } from './open.js'; import type { ArchiveReader } from './contracts.js'; import type { ArchiveInputKind, ArchiveOpenOptions } from './types.js'; /** @internal Build consistent detection metadata across runtime adapters. */ export declare function buildArchiveZipDetection(inputKind: ArchiveInputKind, source: 'forced' | 'filename' | 'magic'): ArchiveZipDetection; /** @internal Open a seekable ZIP input and adapt it to the archive facade. */ export declare function openArchiveZipFromRandomAccess(reader: RandomAccess, detection: ArchiveZipDetection, options?: ArchiveOpenOptions): Promise; /** @internal Resolve HTTP random-access options from the public archive options. */ export declare function resolveArchiveZipHttpOptions(options?: ArchiveOpenOptions, defaults?: { blockSize: number; maxBlocks: number; }): { headers?: Record; cache?: { blockSize?: number; maxBlocks?: number; }; signal?: AbortSignal; snapshotPolicy?: 'require-strong-etag' | 'best-effort'; }; /** @internal Resolve the remote resource consistency policy. */ export declare function resolveArchiveHttpSnapshotPolicy(options?: ArchiveOpenOptions): 'require-strong-etag' | 'best-effort' | undefined; //# sourceMappingURL=runtimeZip.d.ts.map