import { DownshiftState, StateChangeOptions } from 'downshift';
/**
 * For some use cases of the Autocomplete component, we do not want the input to
 * be cleared when the input element loses focus. The default behavior of Downshift
 * is to clear the input value when the field loses focus. This custom Downshift
 * state reducer keeps that input value rather than clearing it.
 */
export default function keepInputDownshiftStateReducer(state: DownshiftState<any>, changes: StateChangeOptions<any>): StateChangeOptions<any> | {
    inputValue: string;
    isOpen: boolean;
    selectedItem?: undefined;
} | {
    inputValue: string;
    isOpen: boolean;
    selectedItem: any;
};
