import type { Attachment, AttachmentIndex, Channel, Chunk, ChunkIndex, DataEnd, Footer, Header, Message, MessageIndex, Metadata, MetadataIndex, Schema, Statistics, SummaryOffset } from "./types.ts"; type Options = { /** Add an unspecified number of extra padding bytes at the end of each record */ padRecords: boolean; }; /** * McapRecordBuilder provides methods to serialize mcap records to a buffer in memory. * * It makes no effort to ensure spec compatibility on the order of records, this is the responsibility * of the caller. * * You'll likely want to use one of the higher level writer interfaces unless you are building your * own higher level writing interface. */ export declare class McapRecordBuilder { #private; private options?; constructor(options?: Options | undefined); get length(): number; get buffer(): Uint8Array; reset(): void; writeMagic(): void; writeHeader(header: Header): bigint; writeFooter(footer: Footer): bigint; writeSchema(schema: Schema): bigint; writeChannel(info: Channel): bigint; writeMessage(message: Message): void; writeAttachment(attachment: Attachment): bigint; writeAttachmentIndex(attachmentIndex: AttachmentIndex): bigint; writeChunk(chunk: Chunk): bigint; writeChunkIndex(chunkIndex: ChunkIndex): bigint; writeMessageIndex(messageIndex: MessageIndex): bigint; writeMetadata(metadata: Metadata): bigint; writeMetadataIndex(metadataIndex: MetadataIndex): bigint; writeSummaryOffset(summaryOffset: SummaryOffset): bigint; writeStatistics(statistics: Statistics): bigint; writeDataEnd(dataEnd: DataEnd): bigint; } export {}; //# sourceMappingURL=McapRecordBuilder.d.ts.map