/** * Password Validation Errors * * 1201000 - The password should be at least 10 characters in size * * 1201001 - The password should contain at least one lower case character * * 1201002 - The password should contain at least one upper case character * * 1201003 - The password should contain a special character * * 1201004 - The password should contain at least one number */ export declare enum PasswordValidationError { MinSizeError = 1201000, NoLowerCaseLetterError = 1201001, NoUpperCaseLetterError = 1201002, NoSpecialCharacterError = 1201003, NoNumberError = 1201004 } export type PasswordValidationResult = { isValid: boolean; errors: Array; }; /** * Validates the password strength, it provides all the errors that aren't fulfilled. * * @param password - Password that will be tested. * * @returns - Object containing the result of the validation. * */ export default function validatePassword(password: string): PasswordValidationResult;