import { IEventEmitter } from '@breadstone/mosaik-elements';
import { IClearable } from '../../../Behaviors/Clearable';
import { type IInvalidable } from '../../../Behaviors/Invalidable';
import { ISlottable } from '../../../Behaviors/Slottable';
import { InputBaseElement } from '../Abstracts/InputBase';
import { IPasswordConcealedEventDetail } from './Events/IPasswordConcealedEvent';
import { IPasswordRevealedEventDetail } from './Events/IPasswordRevealedEvent';
import type { IPasswordBoxElementProps } from './IPasswordBoxElementProps';
import { TextAlignment } from '../../../Types/TextAlignment';
declare const PasswordBoxElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Clearable").IClearableProps & import("../../../Behaviors/Clearable").IClearableEvents & IClearable) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array<any>) => IInvalidable & import("../../../Behaviors/Invalidable").IInvalidableProps<unknown>) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Valueable").IValueableProps<unknown>) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Labelable").ILabelableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & typeof InputBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor;
/**
 * Password Box - A user interface component for securely inputting passwords.
 *
 * @element mosaik-passwordbox
 *
 * @description
 * The Password Box component is designed for entering passwords and other sensitive information. It masks the input
 * characters to provide privacy and security. Password Boxes are commonly used in login forms and other scenarios
 * where users need to provide confidential data.
 *
 * @category Forms
 *
 * @fires revealed - Fired when the password is shown.
 * @fires concealed - Fired when the password is hidden.
 *
 * @public
 */
export declare class PasswordBoxElement extends PasswordBoxElement_base implements IPasswordBoxElementProps, IInvalidable, IClearable, ISlottable {
    private readonly _revealed;
    private readonly _concealed;
    private _inputElement;
    private _value;
    private _readonly;
    private _required;
    private _autofocus;
    private _name;
    private _pattern;
    private _placeholder;
    private _autocomplete;
    private _revealable;
    private _isReveal;
    private _textAlign;
    /**
     * @public
     */
    constructor();
    /**
     * Returns the `{@link is}` property.
     * The `{@link is}` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is(): string;
    /**
     * Gets or sets the `value` property.
     *
     * @public
     * @override
     */
    get value(): string;
    set value(value: string);
    /**
     * Gets or sets the `readonly` property.
     *
     * @public
     * @attr
     */
    get readonly(): boolean;
    set readonly(value: boolean);
    /**
     * Gets or sets the `required` property.
     *
     * @public
     * @attr
     */
    get required(): boolean;
    set required(value: boolean);
    /**
     * Gets or sets the `autofocus` property.
     *
     * @public
     * @override
     */
    get autofocus(): boolean;
    set autofocus(value: boolean);
    /**
     * Gets or sets the `name` property.
     *
     * @public
     * @attr
     */
    get name(): string;
    set name(value: string);
    /**
     * Gets or sets the `pattern` property.
     *
     * @public
     * @attr
     */
    get pattern(): string;
    set pattern(value: string);
    /**
     * Gets or sets the `placeholder` property.
     *
     * @public
     * @attr
     */
    get placeholder(): string;
    set placeholder(value: string);
    /**
     * Gets or sets the `autocomplete` property.
     *
     * @public
     * @attr
     */
    get autocomplete(): boolean;
    set autocomplete(value: boolean);
    /**
     * Gets or sets the `revealable` property.
     *
     * @public
     * @attr
     */
    get revealable(): boolean;
    set revealable(value: boolean);
    /**
     * Determines whether the element has a prefix or not.
     * The Prefix is a slot that is displayed before the input.
     *
     * @private
     * @readonly
     * @attr
     */
    get hasPrefix(): boolean;
    /**
     * Determines whether the element has a suffix or not.
     * The Suffix is a slot that is displayed after the input.
     *
     * @private
     * @readonly
     * @attr
     */
    get hasSuffix(): boolean;
    /**
     * Returns the `isReveal` property.
     *
     * @public
     * @attr
     */
    get isReveal(): boolean;
    set isReveal(value: boolean);
    /**
     * Determines the text alignment of the component.
     *
     * @public
     * @attr
     */
    get textAlign(): TextAlignment;
    set textAlign(value: TextAlignment);
    /**
     * Called when the password is shown.
     * Provides reference to `{@link IPasswordRevealedEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get revealed(): IEventEmitter<IPasswordRevealedEventDetail>;
    /**
     * Called when the password is hidden.
     * Provides reference to `{@link IPasswordConcealedEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get concealed(): IEventEmitter<IPasswordConcealedEventDetail>;
    /**
     * @public
     * @override
     */
    focus(): void;
    /**
     * @public
     * @override
     */
    blur(): void;
    /**
     * Clears the value of the element but not the validation.
     *
     * @public
     * @override
     */
    clear(force?: boolean): boolean;
    /**
     * Resets the value, all kinds of validation and errors.
     *
     * @public
     * @override
     */
    reset(): void;
    /**
     * Checks the validity of the element and returns `true` if it is valid; otherwise, `false`.
     *
     * @public
     * @override
     */
    checkValidity(): boolean;
    /**
     * Shows the password.
     *
     * @public
     */
    reveal(): void;
    /**
     * Hides the password.
     *
     * @public
     */
    conceal(): void;
    /**
     * @template
     * @protected
     */
    onChange(event: Event): void;
    /**
     * @template
     * @protected
     * @override
     */
    onInput(event: InputEvent): void;
    /**
     * @template
     * @protected
     * @override
     */
    onFocus(event: FocusEvent): void;
    /**
     * @template
     * @protected
     * @override
     */
    onBlur(event: FocusEvent): void;
    /**
     * @protected
     * @override
     */
    protected onApplyTemplate(): void;
    /**
     * Emits the {@link revealed} event.
     *
     * @protected
     */
    protected onRevealed(args: IPasswordRevealedEventDetail): void;
    /**
     * Emits the {@link concealed} event.
     *
     * @protected
     */
    protected onConcealed(args: IPasswordConcealedEventDetail): void;
}
/**
 * @public
 */
export declare namespace PasswordBoxElement {
    type Props = IPasswordBoxElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-passwordbox': PasswordBoxElement;
    }
}
export {};
//# sourceMappingURL=PasswordBoxElement.d.ts.map