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 type { ChipTransformFn } from './ChipTransformFn';
import type { IChipBoxChipEvent } from './Events/IChipBoxChipEventDetail';
import type { IChipBoxElementProps } from './IChipBoxElementProps';
declare const ChipBoxElement_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/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Labelable").ILabelableProps) & typeof InputBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor;
/**
 * Chip Box - A user interface element for displaying and managing multiple chips.
 *
 * @element mosaik-chipbox
 *
 * @description
 * The Chip Box component is designed to display and manage multiple chips, which are small, interactive elements
 * used to represent selections, chips, or pieces of information. Chip Boxes are commonly used in scenarios
 * where users need to make multiple selections, filter content, or display categorized items. Users can interact
 * with the chips to add or remove selections or filter content.
 *
 * @category Forms
 *
 * @fires cleared - Fired when the value is cleared.
 * @fires chipAdded - Fired when a chip is added.
 * @fires chipRemoved - Fired when a chip is removed.
 *
 * @keyhandle Enter - Adds a chip.
 * @keyhandle Comma - Adds a chip.
 * @keyhandle LeftArrow - Focuses the previous chip.
 * @keyhandle RightArrow - Focuses the next chip.
 * @keyhandle Backspace - Removes the focused chip.
 *
 * @public
 */
export declare class ChipBoxElement extends ChipBoxElement_base implements IChipBoxElementProps, IInvalidable, IClearable, ISlottable {
    private readonly _chipElements?;
    private readonly _inputElement?;
    private readonly _keyboardController;
    private readonly _chipAdded;
    private readonly _chipRemoved;
    private _isEditable;
    private _readonly;
    private _pressBackspaceToRemove;
    private _chips;
    private _separatorKeys;
    private _transform;
    private _value;
    private _required;
    private _autofocus;
    private _name;
    private _pattern;
    private _placeholder;
    private _autocomplete;
    /**
     * @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 `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 `isEditable` property.
     *
     * @public
     * @attr
     */
    get isEditable(): boolean;
    set isEditable(value: boolean);
    /**
     * Gets or sets the `readonly` property.
     *
     * @public
     * @attr
     */
    get readonly(): boolean;
    set readonly(value: boolean);
    /**
     * Gets or sets the `pressBackspaceToRemove` property.
     *
     * @public
     * @attr
     */
    get pressBackspaceToRemove(): boolean;
    set pressBackspaceToRemove(value: boolean);
    /**
     * Gets or sets the `chips` property.
     *
     * @public
     * @attr
     */
    get chips(): Array<unknown>;
    set chips(value: Array<unknown>);
    /**
     * Gets or sets the `separatorKeys` property.
     *
     * @public
     * @attr
     */
    get separatorKeys(): Array<number>;
    set separatorKeys(value: Array<number>);
    /**
     * Gets or sets the `transform` property.
     *
     * @public
     * @attr
     */
    get transform(): ChipTransformFn | null;
    set transform(value: ChipTransformFn | null);
    /**
     * 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;
    /**
     * Called when a chip is added.
     * Provides reference to `{chip:unknown}` as event argument.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get chipAdded(): IEventEmitter<{
        chip: unknown;
    }>;
    /**
     * Called when a chip is removed.
     * Provides reference to `{chip: unknown}` as event argument.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get chipRemoved(): IEventEmitter<{
        chip: unknown;
    }>;
    /**
     * @public
     * @override
     */
    connectedCallback(): void;
    /**
     * @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;
    /**
     * @public
     */
    add(chip: unknown): void;
    /**
     * @public
     */
    delete(chip: unknown): void;
    /**
     * @protected
     * @template
     */
    onKeyUp(event: KeyboardEvent): void;
    /**
     * @protected
     * @template
     */
    onKeyDown(event: KeyboardEvent): void;
    /**
     * @protected
     * @template
     */
    onPaste(event: ClipboardEvent): void;
    /**
     * @protected
     */
    onChipClosed(chip: unknown): void;
    /**
     * Emits the {@link chipAdded} event.
     *
     * @protected
     */
    protected onChipAdded(args: {
        chip: unknown;
    }): void;
    /**
     * Emits the {@link chipRemoved} event.
     *
     * @protected
     */
    protected onChipRemoved(args: {
        chip: unknown;
    }): 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;
}
/**
 * @public
 */
export declare namespace ChipBoxElement {
    type Props = IChipBoxElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-chipbox': ChipBoxElement;
    }
    interface HTMLElementEventMap {
        chipAdded: IChipBoxChipEvent;
        chipRemoved: IChipBoxChipEvent;
    }
}
export {};
//# sourceMappingURL=ChipBoxElement.d.ts.map