import { PasswordStrengths } from '@seniorsistemas/angular-components/password-strength';
import { AddonConfig } from '../../addon-config';
import { Field, FieldConfig } from './field';
export interface PasswordFieldConfig extends FieldConfig {
    inputType?: string;
    keyFilter?: any;
    leftAddon?: AddonConfig;
    rightAddon?: AddonConfig;
    maxLength?: string | number;
    passwordStrength: boolean;
    passwordStrengthOptions?: PasswordStrengthOptions;
    showToggle: boolean;
    style?: {
        [klass: string]: any;
    };
    onBlur?: (event: FocusEvent) => void;
    onFocus?: (event: FocusEvent) => void;
    onComplete?: (event: FocusEvent) => void;
    onInput?: (event: FocusEvent) => void;
}
export declare class PasswordField extends Field {
    inputType?: string;
    keyFilter?: any;
    leftAddon?: AddonConfig;
    rightAddon?: AddonConfig;
    maxLength?: string | number;
    passwordStrength: boolean;
    passwordStrengthOptions?: PasswordStrengthOptions;
    showToggle: boolean;
    style?: {
        [klass: string]: any;
    };
    onBlur?: (event: FocusEvent) => void;
    onFocus?: (event: FocusEvent) => void;
    onComplete?: (event: any) => void;
    onInput?: (event: any) => void;
    constructor(config: PasswordFieldConfig);
}
export interface PasswordStrengthOptions {
    description: string;
    weakTitle?: string;
    mediumTitle?: string;
    strongTitle?: string;
    validation?: (content: string) => PasswordStrengths;
}
