/** * Transforms a stream of VerifiableBlobs into a Raw bytes. * * @param {import('multiformats').MultihashDigest} multihashDigest * @param {AsyncIterable} stream * @returns {Promise} A ReadableStream containing the data from the stream, or null if no data was written. */ export function asRawUint8Array(multihashDigest: import("multiformats").MultihashDigest, stream: AsyncIterable): Promise; /** * Transforms a stream of VerifiableBlobs into a CARv1 ReadableStream. * * @param {import('multiformats').MultihashDigest} multihashDigest * @param {AsyncIterable} stream * @param {object} [options] * @param {CID[] | CID} [options.roots] * @param {number} [options.targetMultihashCodec] * @returns {Promise | undefined>} A ReadableStream containing the data from the stream, or null if no data was written. */ export function asCarReadableStream(multihashDigest: import("multiformats").MultihashDigest, stream: AsyncIterable, options?: { roots?: CID | CID[] | undefined; targetMultihashCodec?: number | undefined; }): Promise | undefined>; /** * Converts an async iterable into a ReadableStream. * * @template T * @param {AsyncIterable} iterable - An async iterable to be streamed. * @returns {ReadableStream} A ReadableStream that yields values from the iterable. */ export function toReadableStream(iterable: AsyncIterable): ReadableStream; export const DAGPB_CODE: 112; import { CID } from 'multiformats/cid'; //# sourceMappingURL=streamer.d.ts.map