import type { SafetyProfile } from '../compress/types.js'; export type XzDecompressOptions = { signal?: AbortSignal; maxOutputBytes?: bigint | number; maxCompressionRatio?: number; maxDictionaryBytes?: bigint | number; maxBufferedInputBytes?: number; maxIndexRecords?: number; maxIndexBytes?: number; safetyProfile?: SafetyProfile; }; export type XzLimitOptions = { maxDictionaryBytes?: bigint | number; maxBufferedInputBytes?: number; maxIndexRecords?: number; maxIndexBytes?: number; safetyProfile?: SafetyProfile; }; export declare function createXzDecompressStream(options?: XzDecompressOptions): ReadableWritablePair; export declare function resolveXzLimits(options?: XzLimitOptions): { maxDictionaryBytes: bigint; maxBufferedInputBytes: number; maxIndexRecords: number; maxIndexBytes: number; }; export declare function readXzDictionarySize(data: Uint8Array): number | undefined; //# sourceMappingURL=xz.d.ts.map