declare module 'multihashing-async' { function Multihashing(buf: Buffer, alg: number|string, length?: number): Promise namespace Multihashing { export const Buffer: Buffer export const multihash: Function export const functions: Record export function digest(buf: Buffer, alg: (number | string), length?: number): Promise export function createHash(alg: (string | number)): Function export function validate(buf: Buffer, hash: Buffer): Promise } // eslint-disable-next-line import/no-default-export export default Multihashing }