The useFilters hook returns the active Filters being used based on the search mode, active curations and other factors, internally it is used by the Filters component.
Usage
The filterStack field contains the active filter group, this might change based on the current search term or collection page.
The filters field contains the filter facets for the active filter group.
The selected field contains an array of applied filter facets with their handle and their value.
The setFilterValue method is used to change the value of a given filter facet, you must provide the handle value of the filter facet and an appropriate value depending on the type of filter facet being updated.