import { ClassConstructor } from "class-transformer"; import { _Object } from "@alfercom/base-types"; export declare class Encryption { static encryptString(stringToEncrypt: string, secret?: string): string; static decryptString(encryptedString: string, secret?: string): string; static encryptObject(objToEncrypt: _Object, secret?: string): string; static decryptObject(encryptedObj: string, secret?: string, cls?: ClassConstructor): Promise; static comparePasswords(password1: string, password2: string): Promise; static hashString(stringToHash: string, useSalt?: boolean): Promise; }