import { Buffer } from '@craftzdog/react-native-buffer'; import type { BinaryLike } from '../utils'; import { KeyObject, CryptoKey } from './classes'; interface PublicCipherOptions { key: BinaryLike | KeyObject | CryptoKey; padding?: number; oaepHash?: string; oaepLabel?: BinaryLike; } type PublicCipherInput = BinaryLike | KeyObject | CryptoKey | PublicCipherOptions; interface PrivateCipherOptions { key: BinaryLike | KeyObject | CryptoKey; padding?: number; oaepHash?: string; oaepLabel?: BinaryLike; } type PrivateCipherInput = BinaryLike | KeyObject | CryptoKey | PrivateCipherOptions; export declare function publicEncrypt(key: PublicCipherInput, buffer: BinaryLike): Buffer; export declare function publicDecrypt(key: PublicCipherInput, buffer: BinaryLike): Buffer; export declare function privateEncrypt(key: PrivateCipherInput, buffer: BinaryLike): Buffer; export declare function privateDecrypt(key: PrivateCipherInput, buffer: BinaryLike): Buffer; export {}; //# sourceMappingURL=publicCipher.d.ts.map