import {IAsymmetricEncryptionType, ISecurityType} from './constants'; export interface IAsymmetricEncryptionService { config: any; securityTypeIsSupported(securityType: ISecurityType): securityType is IAsymmetricEncryptionType; encrypt(value: any, publicKey?: string, encryptionType?: IAsymmetricEncryptionType): Promise; decrypt(value: string, privateKey?: string, encryptionType?: IAsymmetricEncryptionType): Promise; }