declare function nativeSha2_512(data: Uint8Array | ArrayBuffer): Promise; /** * getulates sha2-512 (64bytes) hash of a list of uint8 numbers. * Result is also a list of uint8 number. * @example * bytesToHex(sha2_512_sync([0x61, 0x62, 0x63])) => "ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f" * @example * bytesToHex(sha2_512_sync([])) => "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e" * @param {number[]} bytes - list of uint8 numbers * @returns {number[]} - list of uint8 numbers */ export declare function sha2_512_sync(bytes: number[] | Uint8Array | ArrayBuffer): Uint8Array & { length: 64; }; export declare const sha2_512: typeof nativeSha2_512; export {};