<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QuerySuggestionsGetter](./x-components.querysuggestionsgetter.md) &gt; [querySuggestions](./x-components.querysuggestionsgetter.querysuggestions.md)

## QuerySuggestionsGetter.querySuggestions() method

Default implementation for the [QuerySuggestionsGetter.querySuggestions()](./x-components.querysuggestionsgetter.querysuggestions.md) getter.

**Signature:**

```typescript
querySuggestions(input: QuerySuggestionsState): Suggestion[];
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

{ query, suggestions, config, searchedQueries, }


</td><td>

(not declared)


</td><td>


</td></tr>
<tr><td>

input


</td><td>

[QuerySuggestionsState](./x-components.querysuggestionsstate.md)


</td><td>


</td></tr>
</tbody></table>

**Returns:**

Suggestion\[\]

The filtered subset of queries, matching with the current query.

