UNPKG

@web3-storage/pail

Version:
9 lines 877 B
export function put(blocks: API.BlockFetcher, head: API.EventLink<API.Operation>[], key: string, value: API.UnknownLink): Promise<API.Result>; export function del(blocks: API.BlockFetcher, head: API.EventLink<API.Operation>[], key: string, options?: object): Promise<API.Result>; export function root(blocks: API.BlockFetcher, head: API.EventLink<API.Operation>[]): Promise<{ root: API.ShardLink; } & API.ShardDiff>; export function get(blocks: API.BlockFetcher, head: API.EventLink<API.Operation>[], key: string): Promise<import("multiformats").Link<unknown, number, number, import("multiformats").Version> | undefined>; export function entries(blocks: API.BlockFetcher, head: API.EventLink<API.Operation>[], options?: API.EntriesOptions): AsyncGenerator<import("../api.js").ShardValueEntry, void, any>; import * as API from './api.js'; //# sourceMappingURL=index.d.ts.map