import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { SearchbarMetadata } from './types';
import * as i0 from "@angular/core";
export declare class SearchbarComponent implements OnInit, OnChanges {
    private presets;
    private i18n;
    /**
     * Preset name to apply.
     */
    preset?: string;
    /**
     * Configuration object. Values here override preset values.
     */
    props: Partial<SearchbarMetadata>;
    /**
     * Resolved props after merging preset + explicit props.
     */
    resolvedProps: SearchbarMetadata;
    /**
     * Emits the search term on input.
     */
    filterEvent: EventEmitter<string>;
    /**
     * Emits when the searchbar gains focus.
     */
    focusEvent: EventEmitter<void>;
    /**
     * Emits when the searchbar loses focus.
     */
    blurEvent: EventEmitter<void>;
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    private resolveProps;
    /** Get placeholder text */
    getPlaceholder(): string;
    /** Get cancel button text */
    getCancelText(): string;
    onSearch($event: any): void;
    onFocus(): void;
    onBlur(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "val-searchbar", never, { "preset": { "alias": "preset"; "required": false; }; "props": { "alias": "props"; "required": false; }; }, { "filterEvent": "filterEvent"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; }, never, never, true, never>;
}
