import type { CBORValue } from "./types.js"; import type { DecodeOptions, FloatSize } from "./options.js"; export declare class Decoder { #private; private readonly data; readonly allowUndefined: boolean; readonly minFloatSize: (typeof FloatSize)[keyof typeof FloatSize]; constructor(data: Uint8Array, options?: DecodeOptions); getOffset(): number; private constant; private float16; private float32; private float64; private uint8; private uint16; private uint32; private uint64; private decodeBytes; private decodeString; private getArgument; decodeValue(): CBORValue; } /** Decode a single CBOR value */ export declare function decode(data: Uint8Array, options?: DecodeOptions): T;