import { NativeModulesProvider } from './NativeModulesProvider'; import { Base64String } from "../PowerAuthCryptoUtils"; export interface PowerAuthCryptoUtilsIfc { hashSha256(data: Base64String): Promise randomBytes(length: number): Promise } export const NativeCryptoUtils = NativeModulesProvider.PowerAuthCryptoUtils;