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