export type PasswordStrengthScore = 0 | 1 | 2 | 3 | 4;
export interface PasswordStrengthResult {
    score: PasswordStrengthScore;
    feedback?: string[];
}
export type PasswordScorer = (password: string) => PasswordStrengthResult;
export interface UsePasswordStrengthOptions {
    scorer?: PasswordScorer;
}
export declare function heuristicScorer(password: string): PasswordStrengthResult;
export declare function usePasswordStrength(password: string, options?: UsePasswordStrengthOptions): PasswordStrengthResult;
