import type { AbstractControl } from '@angular/forms'; export type IPasswordValidationFn = (value: string) => boolean; export interface IRegexLike { test: (value: string) => boolean; } export type IPasswordRuleSet = Record; export type IRuleValidationState = Record; export declare const VALIDATION_RULE_NAME = "complexity"; export declare const complexityValidator: (rules: IPasswordRuleSet, required: boolean) => (control: AbstractControl) => { complexity: IRuleValidationState; } | null;