/** * Given an Iterable first argument, returns an Iterable where each value is encoded as a Buffer * If the argument is only Async Iterable, the return value will be an Async Iterable. * @param {Iterable|Iterator|AsyncIterable|AsyncIterator} objectIterator - iterable source, like a Readable object stream, an array, Set, or custom object * @param {options} [options] - cbor-x Encoder options * @returns {IterableIterator|Promise.} */ export function encodeIter(objectIterator: Iterable | Iterator | AsyncIterable | AsyncIterator, options?: any): IterableIterator | Promise>; /** * Given an Iterable/Iterator input which yields buffers, returns an IterableIterator which yields sync decoded objects * Or, given an Async Iterable/Iterator which yields promises resolving in buffers, returns an AsyncIterableIterator. * @param {Iterable|Iterator|AsyncIterable|AsyncIterableIterator} bufferIterator * @param {object} [options] - Decoder options * @returns {IterableIterator|Promise. | Iterator | AsyncIterable | AsyncIterableIterator, options?: object | undefined): IterableIterator | Promise>; //# sourceMappingURL=iterators.d.ts.map