/** * Calculates the SHA-512 checksum of the passed bytes. The implementation is * a plain (pure JS) one on purpose. It does not depend on the Web Crypto API * (`crypto.subtle`), which browsers expose only on secure origins (https). * Thanks to that, the checksum can be verified on plain http:// pages, * for example, intranets of big companies. * * @param {number[]|Uint8Array} bytes The bytes to calculate the checksum from. * @returns {string} The checksum as a 128-character hex string. */ export declare function sha512(bytes: number[] | Uint8Array): string;