import { Buffer } from 'buffer/'; declare module 'react-native' { interface NativeModulesStatic { FastCreateHash: { createHash(data64: string, algorithm: string): Promise; }; } } declare type Algorithm = 'sha256' | 'sha384' | 'sha512'; /** * @param data Raw data to hash. * @param algorithm Hashing algorithm to use. * @returns Promise of the hashed data. */ export declare function createHash(data: Uint8Array, algorithm: Algorithm): Promise; export {};