export function iterate(value: unknown): IterableIterator; export function createStore(blocks?: API.Transport.Block[]): API.BlockStore; export function get(cid: API.Link, store: BlockStore, fallback?: E | undefined): E | API.Transport.Block; export function embed>(source: U, { codec }?: { codec?: MF.BlockEncoder | undefined; }): API.Transport.Block, 1> & { data: U; }; export function notFound(link: API.Link): never; export function writeInto(source: U, store: BlockStore, options?: { codec?: MF.BlockEncoder | undefined; hasher?: API.MultihashHasher | undefined; }): Promise & { data: U; }>; export function addInto({ cid, bytes }: API.Transport.Block, store: BlockStore): API.Transport.Block; export function addEveryInto(source: Iterable>, store: BlockStore): void; export type BlockStore = Map, API.Block | API.Block>; import * as CBOR from './cbor.js'; import { sha256 } from 'multiformats/hashes/sha2'; import { identity } from 'multiformats/hashes/identity'; import * as API from '@ucanto/interface'; import * as MF from 'multiformats/interface'; /** @type {API.MulticodecCode} */ declare const EMBED_CODE: API.MulticodecCode; export { CBOR, sha256, identity }; //# sourceMappingURL=dag.d.ts.map