import type { HybridObject } from 'react-native-nitro-modules' // TODO can't have algorithm with only one entry, or nitrogen gets very angry, if we in future need more we will have to readd export interface Aes extends HybridObject<{ ios: 'c++'; android: 'c++' }> { encrypt( /*algorithm: AesAlgorithm, */ data: ArrayBuffer, key: ArrayBuffer, iv: ArrayBuffer | undefined ): Promise decrypt( /*algorithm: AesAlgorithm, */ ivAndEncryptedData: ArrayBuffer, key: ArrayBuffer ): Promise }