import type { CBORValue } from "./types.js"; import type { DecodeOptions, FloatSize } from "./options.js"; export declare class Decoder implements IterableIterator { readonly allowUndefined: boolean; readonly minFloatSize: (typeof FloatSize)[keyof typeof FloatSize]; private offset; private byteLength; private readonly chunks; private readonly constantBuffer; private readonly constantView; private readonly iter; constructor(source: Iterable, options?: DecodeOptions); [Symbol.iterator]: () => this; private allocate; private fill; private constant; private float16; private float32; private float64; private uint8; private uint16; private uint32; private uint64; private decodeBytes; private decodeString; private getArgument; next(): { done: true; value: undefined; } | { done: false; value: T; }; private decodeValue; } /** Decode an iterable of Uint8Array chunks into an iterable of CBOR values */ export declare function decodeIterable(source: Iterable): IterableIterator;