import * as stream from 'stream'; import { AESAlgorithm } from './interfaces'; export declare function encrypt(algo: AESAlgorithm, data: string, password: string): string; export declare function decrypt(algo: AESAlgorithm, data: string, password: string): string; export declare function encryptBuffer(algo: AESAlgorithm, data: Buffer, password: string): Buffer; export declare function decryptBuffer(algo: AESAlgorithm, data: Buffer, password: string): Buffer; export declare function encryptStream(algo: AESAlgorithm, password: string): stream.Transform; export declare function decryptStream(algo: AESAlgorithm, password: string): stream.Transform;