import { ElementRef, EventEmitter, Renderer } from '@angular/core';
import { NgControl } from '@angular/forms';
import { Config } from '../../config/config';
import { Ion } from '../ion';
import { TimeoutDebouncer } from '../../util/debouncer';
export declare class Searchbar extends Ion {
    _value: string | number;
    _shouldBlur: boolean;
    _shouldAlignLeft: boolean;
    _isCancelVisible: boolean;
    _spellcheck: boolean;
    _autocomplete: string;
    _autocorrect: string;
    _isActive: boolean;
    _debouncer: TimeoutDebouncer;
    _showCancelButton: boolean;
    _animated: boolean;
    color: string;
    mode: string;
    cancelButtonText: string;
    showCancelButton: boolean;
    debounce: number;
    placeholder: string;
    autocomplete: string;
    autocorrect: string;
    spellcheck: string | boolean;
    type: string;
    animated: boolean;
    ionInput: EventEmitter<UIEvent>;
    ionBlur: EventEmitter<UIEvent>;
    ionFocus: EventEmitter<UIEvent>;
    ionCancel: EventEmitter<UIEvent>;
    ionClear: EventEmitter<UIEvent>;
    _sbHasFocus: boolean;
    constructor(config: Config, elementRef: ElementRef, renderer: Renderer, ngControl: NgControl);
    _searchbarInput: ElementRef;
    _searchbarIcon: ElementRef;
    _cancelButton: ElementRef;
    value: string | number;
    ngOnInit(): void;
    ngAfterContentInit(): void;
    positionElements(): void;
    positionPlaceholder(): void;
    positionCancelButton(): void;
    inputChanged(ev: any): void;
    inputFocused(ev: UIEvent): void;
    inputBlurred(ev: UIEvent): void;
    clearInput(ev: UIEvent): void;
    cancelSearchbar(ev: UIEvent): void;
    writeValue(val: any): void;
    onChange: (_: any) => void;
    onTouched: () => void;
    registerOnChange(fn: (_: any) => {}): void;
    registerOnTouched(fn: () => {}): void;
    setFocus(): void;
}
