/// import { Stream } from 'stream'; /** * The abstract class privacy strategy *
*
* Privacy strategy handles the encrypting and decrypting of data *
*
* When creating a custom Privacy Strategy, implement CustomPrivacyStrategy */ export declare abstract class PrivacyStrategy { /** * Get the privacy type's int value * @return the privacy type's int value */ abstract getPrivacyType(): number; /** * Encrypt byte stream * @param stream the byte stream to encrypt * @return encrypted byte stream */ abstract encrypt(stream: Stream): Stream; /** * Encrypt byte stream * @param encryptedStream the byte stream to decrypt * @return the decrypted data */ abstract decrypt(encryptedStream: Stream): Stream; }