import { BaseValidator } from './base'; import type { PasswordValidatorType, ValidationNames } from '../types/index'; export declare function password(): PasswordValidator; export declare class PasswordValidator extends BaseValidator implements PasswordValidatorType { name: ValidationNames; constructor(); matches(confirmPassword: string): this; min(length?: number): this; max(length?: number): this; length(length: number): this; hasUppercase(): this; hasLowercase(): this; hasNumbers(): this; hasSpecialCharacters(): this; alphanumeric(): this; }