import { mode, pad, lib } from 'crypto-js'; export interface EncryptionParams { key: string; iv: string; } export interface CustomCipherParams { mode?: typeof mode.ECB; padding?: typeof pad.Pkcs7; iv?: lib.WordArray; } export declare class AesEncryption { private key; private iv; constructor(opt?: Partial); get getOptions(): CustomCipherParams; encryptByAES(cipherText: string): string; decryptByAES(cipherText: string): string; } export declare function encryptByBase64(cipherText: string): string; export declare function decodeByBase64(cipherText: string): string; export declare function encryptByMd5(password: string): string;