import type { SyntheticEvent } from 'react';
interface FloatingSearchBarProps {
    /**
     * Called when a user types text in the search bar.
     * The call to this function is debounced to avoid update search results mid-typing.
     * */
    onChange?: (value: string, e?: SyntheticEvent<HTMLInputElement, Event>) => void | Promise<void>;
    /** Called when search bar is closed */
    onClose?: () => void | Promise<void>;
    /** Called on click of the down arrow button */
    onNext?: () => void | Promise<void>;
    /**  Called on click of the up arrow button */
    onPrev?: () => void | Promise<void>;
    /** The index of the selected result */
    selectedResult?: number;
    /** The total number of available search results */
    totalNumberOfResults?: number;
}
declare function FloatingSearchBar(props: FloatingSearchBarProps): JSX.Element;
export default FloatingSearchBar;
//# sourceMappingURL=search-bar.d.ts.map