/// <reference types="node" />
import { IEncryptionOptions } from '../typings';
/**
 * encrypt the given text with aes-256-cbc encryption algorithm
 * @param data string that will be encrypted
 * @param key (or secret) is 256bits (32 charcters) that used to encrypt dan decrypt the data, please store it in the safe places
 * @param options encryption options, see [[IEncryptionOptions]] for more details
 * @returns return encrypted string with selected encoding
 */
export declare function encrypt(data: string | Buffer, key: string, options?: IEncryptionOptions): string;
/**
 * encrypt the given text with aes-256-cbc encryption algorithm
 * @param pathToFile string of file path
 * @param key (or secret) is 256bits (32 charcters) that used to encrypt dan decrypt the data, please store it in the safe places
 * @param options encryption options, see [[IEncryptionOptions]] for more details
 * @returns return encrypted string with selected encoding
 */
export declare function encryptFile(pathToFile: string, key: string, options?: IEncryptionOptions): string;
