import type { RandomAccess } from '../reader/RandomAccess.js'; export type XzIndexPreflightResult = { isWithinLimits: boolean; requiredIndexBytes?: number; requiredIndexRecords?: number; requiredDictionaryBytes?: number; scannedStreamCount: number; isComplete: boolean; requiredBlockHeaderCount?: number; blockHeaderLimit?: number; }; export type XzIndexPreflightOptions = { signal?: AbortSignal; maxIndexRecords: number; maxIndexBytes: number; maxDictionaryBytes: bigint; maxPreflightBlockHeaders: number; }; export declare function preflightXzIndexLimits(reader: RandomAccess, size: bigint, options: XzIndexPreflightOptions): Promise; //# sourceMappingURL=xzIndexPreflight.d.ts.map