import './styles.css';
export type OnSearchCallback = (value: string) => void;
export type OnChangeCallback = (value: string) => void;
export type OnClearCallback = (value: string) => void;
export type SearchInputProps = {
    placeholder?: string;
    onsearch?: OnSearchCallback;
    onchange?: OnChangeCallback;
    onclear?: OnClearCallback;
};
export declare class SearchInput {
    element: HTMLElement;
    private onChange?;
    private onSearch?;
    private onClear?;
    private input;
    private clearButton;
    private searchButton;
    private pill;
    constructor(props: SearchInputProps);
    private onInputFocus;
    private onInputLostFocus;
    private onInput;
    private onKeydown;
    clear: () => void;
    search: () => void;
    setPillText(value: string): void;
    clearPillText(): void;
}
