import { TypedArray } from 'justypes'; export declare function hash(algorithm: string, input: string | DataView | TypedArray): Promise;