import { JsonPackExtension } from '../JsonPackExtension'; import { JsonPackValue } from '../JsonPackValue'; import type { CachedUtf8Decoder } from '@jsonjoy.com/util/lib/buffers/utf8/CachedUtf8Decoder'; import type { IReader, IReaderResettable } from '@jsonjoy.com/util/lib/buffers'; import type { BinaryJsonDecoder, PackValue } from '../types'; export declare class CborDecoderBase implements BinaryJsonDecoder { reader: R; readonly keyDecoder: CachedUtf8Decoder; constructor(reader?: R, keyDecoder?: CachedUtf8Decoder); read(uint8: Uint8Array): PackValue; decode(uint8: Uint8Array): unknown; val(): unknown; readAnyRaw(octet: number): unknown; readMinorLen(minor: number): number; readUint(minor: number): number | bigint; readNint(minor: number): number | bigint; readBin(minor: number): Uint8Array; readBinChunk(): Uint8Array; readAsStr(): string; readStr(minor: number): string; readStrLen(minor: number): number; readStrChunk(): string; readArr(minor: number): unknown[]; readArrRaw(length: number): unknown[]; readArrIndef(): unknown[]; readObj(minor: number): Record; readObjRaw(length: number): Record; readObjIndef(): Record; key(): string; readTag(minor: number): JsonPackExtension | unknown; readTagRaw(tag: number): JsonPackExtension | unknown; readTkn(minor: number): number | true | false | null | undefined | JsonPackValue; f16(): number; }