import type { DecompressHandlers, IReadable, TypedMcapRecords } from "./types.ts"; export declare class McapIndexedReader { #private; readonly chunkIndexes: readonly TypedMcapRecords["ChunkIndex"][]; readonly attachmentIndexes: readonly TypedMcapRecords["AttachmentIndex"][]; readonly metadataIndexes: readonly TypedMcapRecords["MetadataIndex"][]; readonly channelsById: ReadonlyMap; readonly schemasById: ReadonlyMap; readonly statistics: TypedMcapRecords["Statistics"] | undefined; readonly summaryOffsetsByOpcode: ReadonlyMap; readonly header: TypedMcapRecords["Header"]; readonly footer: TypedMcapRecords["Footer"]; readonly dataEndOffset: bigint; readonly dataSectionCrc?: number; private constructor(); static Initialize({ readable, decompressHandlers, }: { readable: IReadable; /** * When a compressed chunk is encountered, the entry in `decompressHandlers` corresponding to the * compression will be called to decompress the chunk data. */ decompressHandlers?: DecompressHandlers; }): Promise; readMessages(args?: { topics?: readonly string[]; startTime?: bigint; endTime?: bigint; reverse?: boolean; validateCrcs?: boolean; }): AsyncGenerator; readMetadata(args?: { name?: string; }): AsyncGenerator; readAttachments(args?: { name?: string; mediaType?: string; startTime?: bigint; endTime?: bigint; validateCrcs?: boolean; }): AsyncGenerator; } //# sourceMappingURL=McapIndexedReader.d.ts.map