import { CborDecoder } from '@jsonjoy.com/json-pack/lib/cbor/CborDecoder'; import { CrdtReader } from '../../../util/binary/CrdtReader'; import type { Batch } from '../../Batch'; /** * JSON CRDT Batch "binary" codec decoder. */ export declare class Decoder extends CborDecoder { /** * Creates a new JSON CRDT batch decoder. * * @param reader An optional custom implementation of a CRDT decoder. */ constructor(reader?: CrdtReader); /** * Decodes a JSON CRDT batch from a binary blob. * * @param data Binary data to decode. * @returns A JSON CRDT `Batch`. */ decodeBatch(data: Uint8Array): Batch; readBatch(): Batch; private readUintCol; private readCborCol; } //# sourceMappingURL=Decoder.d.ts.map