import CID from "cids"; import * as Preserve from "@truffle/preserve"; import { IpfsClient, IpfsGetResults } from "../../lib/ipfs-adapter"; export interface FetchOptions { cid: CID; ipfs: IpfsClient; } export declare const fetch: ({ cid, ipfs }: FetchOptions) => Promise; declare type Collection = Map; declare type CollectionNode = string | Collection; export declare const convertResultsToTarget: (results: IpfsGetResults) => Promise; export declare const convertCollectionToSource: (collectionNode: CollectionNode) => Promise; export {};