import * as React from 'react'; import { AsyncSelectProps } from '../types'; declare type InputEventHandler = React.FormEventHandler; declare type OnInputChange = AsyncSelectProps['onInputChange']; interface UseInputChangeHandlerArgs { inputElement: HTMLInputElement | null; listenAllInputChanges: boolean; debounceInterval?: number; onInputChange: OnInputChange; inputChangeHandlerToDebounce: InputEventHandler; } declare const useInputChangeHandler: ({ inputElement, listenAllInputChanges, onInputChange, inputChangeHandlerToDebounce, debounceInterval, }: UseInputChangeHandlerArgs) => OnInputChange; export { useInputChangeHandler };