interface Resolve ((cid, name, path, toResolve, depth, blockstore, options) => Promise<ResolveResult>)