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