<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesGetter](./x-components.historyqueriesgetter.md) &gt; [historyQueries](./x-components.historyqueriesgetter.historyqueries.md)

## HistoryQueriesGetter.historyQueries() method

Default implementation for the [HistoryQueriesGetters.historyQueries](./x-components.historyqueriesgetters.historyqueries.md) getter.

**Signature:**

```typescript
historyQueries(input: HistoryQueriesState): HistoryQuery[];
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

{ query, historyQueries, config }


</td><td>

(not declared)


</td><td>


</td></tr>
<tr><td>

input


</td><td>

[HistoryQueriesState](./x-components.historyqueriesstate.md)


</td><td>


</td></tr>
</tbody></table>

**Returns:**

HistoryQuery\[\]

The filtered subset of queries, matching with the current query.

