/**
 * The service use 'aes-256-ctr' aes algorithm by default.
 *
 * @exports
 * @class EncryptionService
 */
export declare class EncryptionService {
    private key;
    private iv;
    private readonly algorithm;
    /**
     * Create an instance of the encrytion service.
     *
     * @param {string} key - The AES encryption key.
     * @param {string} iv - The iv key.
     */
    constructor(key: string, iv: string);
    /**
     * Encrypt data.
     *
     * @param {data} data - The data to be encrypted.
     * @returns {string} - Encrypted data.
     */
    encrypt(data: any): string;
    /**
     * Decrypt data.
     *
     * @param {string} encryptedData - The encrypted data.
     * @returns {T} - The decrypted data.
     */
    decrypt<T = any>(encryptedData: string): T;
}
