import { type EventV3SupportPackManifest, type EventV3SupportPackRecord } from "./pack-contract.js"; export interface EventV3SupportPackLimits { max_manifest_bytes?: number; max_payload_bytes?: number; max_decompressed_bytes?: number; max_record_line_bytes?: number; max_entries?: number; fault?: (boundary: "after_payload_digest", path: string) => void; } export interface DecodedEventV3SupportPackRecord extends Omit { content: Buffer; } export interface ValidatedEventV3SupportPack { manifest: EventV3SupportPackManifest; records: DecodedEventV3SupportPackRecord[]; } export interface VerifiedEventV3SupportPack { manifest: EventV3SupportPackManifest; entries: number; uncompressed_bytes: number; } export declare function readEventV3SupportPackManifest(manifestPath: string, limits?: EventV3SupportPackLimits): Promise; /** Validate one pack and stream logical records to the caller one source file at a time. */ export declare function streamEventV3SupportPackRecords(manifestPath: string, limits?: EventV3SupportPackLimits): AsyncGenerator; export declare function validateEventV3SupportPack(manifestPath: string, limits?: EventV3SupportPackLimits): Promise; /** Verify the complete pack while retaining only one decoded source record at a time. */ export declare function verifyEventV3SupportPack(manifestPath: string, limits?: EventV3SupportPackLimits): Promise; /** Unpack only into a destination that does not yet exist; never overlay an authority. */ export declare function unpackEventV3SupportPack(manifestPath: string, destination: string, limits?: EventV3SupportPackLimits): Promise<{ files: number; bytes: number; destination: string; }>; //# sourceMappingURL=pack-reader.d.ts.map