import { IEventDetail, IEventEmitter } from '@breadstone/mosaik-elements';
import { IClearable } from '../../../Behaviors/Clearable';
import { type IInvalidable } from '../../../Behaviors/Invalidable';
import { ISlottable } from '../../../Behaviors/Slottable';
import { SearchTriggerMode } from '../../../Types/SearchTriggerMode';
import { InputBaseElement } from '../Abstracts/InputBase';
import type { ISearchBoxElementEvents } from './ISearchBoxElementEvents';
import type { ISearchBoxElementProps } from './ISearchBoxElementProps';
import { TextAlignment } from '../../../Types/TextAlignment';
declare const SearchBoxElement_base: (abstract new (...args: Array<any>) => import("../../../../Controls/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/Busyable").IBusyableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & typeof InputBaseElement & import("../../../../Controls/Behaviors/Themeable").IThemeableCtor;
/**
 * Search Box - A user interface component for entering search queries.
 *
 * @description
 * The Search Box component is designed to allow users to input search queries. It is commonly used in applications
 * that require search functionality, such as e-commerce websites, search engines, or content management systems.
 * Search Boxes typically include features like suggestions, auto-completion, and the ability to execute search queries.
 *
 * @name Search Box
 * @element mosaik-searchbox
 * @category Forms
 *
 * @slot prefix - The prefix slot.
 * @slot suffix - The suffix slot.
 *
 * @csspart prefix
 * @csspart input
 * @csspart suffix
 * @csspart inner
 * @csspart clear
 * @csspart search
 * @csspart focusRing
 * @csspart progressRing
 *
 * @fires cleared - Fired when the value is cleared.
 * @fires searched - Fired when the element is searched.
 *
 * @keyhandle Backspace - Clears the value.
 * @keyhandle Escape - Clears the value.
 * @keyhandle Enter - Searches the value.
 *
 * @public
 */
export declare class SearchBoxElement extends SearchBoxElement_base implements ISearchBoxElementProps, ISearchBoxElementEvents, IInvalidable, IClearable, ISlottable {
    private readonly _keyboardController;
    private readonly _searched;
    private _value;
    private _readonly;
    private _required;
    private _autofocus;
    private _name;
    private _pattern;
    private _placeholder;
    private _autocomplete;
    private _mode;
    private _delay;
    private _delayTimeoutId;
    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 `mode` property.
     *
     * @public
     * @attr
     */
    get mode(): SearchTriggerMode;
    set mode(value: SearchTriggerMode);
    /**
     * Gets or sets the `delay` property.
     *
     * @public
     * @attr
     */
    get delay(): number;
    set delay(value: number);
    /**
     * Determines the text alignment of the component.
     *
     * @public
     * @attr
     */
    get textAlign(): TextAlignment;
    set textAlign(value: TextAlignment);
    /**
     * 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 the search is triggered.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get searched(): IEventEmitter<IEventDetail<this>>;
    /**
     * @public
     * @override
     */
    connectedCallback(): void;
    /**
    * @public
    * @override
    */
    focus(): void;
    /**
     * @public
     * @override
     */
    blur(): void;
    /**
     * Resets the value, all kinds of validation and errors.
     *
     * @public
     * @override
     */
    reset(): void;
    /**
     * @public
     */
    search(): void;
    /**
     * Clears the value of the element but not the validation.
     *
     * @public
     * @override
     */
    clear(force?: boolean): boolean;
    /**
     * Checks the validity of the element and returns `true` if it is valid; otherwise, `false`.
     *
     * @public
     * @override
     */
    checkValidity(): boolean;
    /**
     * @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;
    /**
     * @template
     * @protected
     */
    onKeyUp(event: KeyboardEvent): void;
    /**
     * Emits the {@link searched} event.
     *
     * @protected
     */
    protected onSearched(args: IEventDetail): void;
}
/**
 * @public
 */
export declare namespace SearchBoxElement {
    type Props = ISearchBoxElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-searchbox': SearchBoxElement;
    }
    interface HTMLElementEventMap {
        searched: CustomEvent<IEventDetail>;
    }
}
export {};
//# sourceMappingURL=SearchBoxElement.d.ts.map