import { ValidatorFn, AbstractControl } from '@angular/forms'; /** * @dynamic is used because this class contains static properties */ export declare class PasswordValidator { /** * Password regular expression pattern: * * At least one upper case English letter * * At least one lower case Englis letter * * At least one digit * * At least one special character * * Minimum of eight characters */ static readonly StrongPassword: RegExp; static readonly MediumPassword: RegExp; /** * Check if password and confirm password match * * @param password password control * @param confirm confirm password control */ static PasswordsMatch(password: AbstractControl, confirm: AbstractControl): ValidatorFn; }