/** * @module "ethpm/storage" */ /// import { Maybe } from "../types"; import { URL } from 'url'; export interface Service { read(uri: URL): Promise>; hash(content: string): Promise; predictUri(content: string): Promise; write(content: string): Promise; }