useAutocomplete provides result and method for the autocomplete pipeline.
useAutocomplete returns an object containing the following properties:
|An array of suggestions for the query.|
|A string that is predicted by the pipeline base on the current query.|
|Function used to search for suggestions.|
|A boolean that is true when the autocomplete is currently searching for the latest result.|
|An object which maps a search string, |