import { AppStateService } from '../common/ui-state.service';
import * as i0 from "@angular/core";
export declare class PasswordStrengthService {
    private ui;
    GREEN_MIN_LENGTH_DEFAULT: number;
    private passwordStrengthSetting;
    constructor(ui: AppStateService);
    /**
     * Gets the minimal number of characters that a password should have to be considered a “green” strong one.
     * @return The min length for password or default value.
     */
    getGreenMinLength(): Promise<number>;
    /**
     * Checks if password strength is enforced for system
     * by retrieving value of `enforceStrength` property from loginOptions response
     * @param refresh boolean used to refresh the app state where result of loginOptions response is stored.
     * If false, it takes value from memory,
     * if true, it refresh the app state value and then retrives data.
     * @return boolean value, true if enforced, false otherwise.
     */
    getEnforcePasswordStrength(refresh?: any): Promise<boolean>;
    /**
     * Checks if password strength is enforced for particular tenant
     * by retrieving value of `strengthValidity` property from loginOptions response
     * @param refresh boolean used to refresh the app state where result of loginOptions response is stored.
     * If false, it takes value from memory,
     * if true, it refresh the app state value and then retrives data.
     * @return boolean value, true if enforced, false otherwise.
     */
    getPasswordStrengthValidity(refresh?: boolean): Promise<boolean>;
    /**
     * Function determines if enforced strength checks should be enabled for current tenant
     * based on properties retrieved from loginOptions
     * @param options object containing specific options:
     *    - {refresh: true} - refreshes values of app state and returns fresh values as result of call
     * @return boolean value, true if strength is enforced for tenant, false otherwise.
     */
    getPasswordStrengthEnforced(options?: {
        refresh: true;
    }): Promise<boolean>;
    private getBasicAuthLoginOption;
    static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PasswordStrengthService>;
}
//# sourceMappingURL=password-strength.service.d.ts.map