import { InjectionToken } from '@angular/core'; import * as CryptoJS from 'crypto-js'; import * as i0 from "@angular/core"; export interface ICryptoData { key: string; } export declare const ENCRYPT_DATA: InjectionToken; export declare class CryptoService { encryptData: ICryptoData | undefined; /** * Creates an instance of CryptoService. * @param {ICryptoData | undefined} encryptData */ constructor(encryptData: ICryptoData | undefined); /** * Encrypts crypto service * @param {string} data * @returns CryptoJS.lib.CipherParams | string */ encrypt(data: string): CryptoJS.lib.CipherParams | string; /** * Decrypts crypto service * @param {string} data * @returns string */ decrypt(data: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }