import { IPasswordStrength, PasswordStrengthOptions, RuleFunction } from './types'; export declare class PasswordStrength implements IPasswordStrength { private readonly input; private readonly options; private readonly handlers; constructor(input: HTMLInputElement, options?: PasswordStrengthOptions); private setup; destroy(): void; forceUpdate(): void; addRule(name: string, method: RuleFunction, score: number, active: boolean): this; changeScore(rule: string, score: number): this; ruleActive(rule: string, active: boolean): this; ruleIsMet(rule: string): boolean; private computeScore; private onInput; private onPaste; }