export default function createHash(): { update: (buf: Uint8Array) => /*elided*/ any; digest: (encoding?: "hex") => Uint8Array | string; reset: () => void; };