import { MouseEvent, ChangeEvent, KeyboardEvent } from 'react'; import { Suggestions } from './types'; export declare const useAutocomplete: (name: string, suggestions: Suggestions) => [activeSuggestion: string | number, filteredSuggestions: Suggestions, showSuggestions: boolean, handleChange: (event: ChangeEvent) => void, handleClick: (event: MouseEvent) => void, handleKeyDown: (event: KeyboardEvent) => void];