import { Facet , Filter } from '@empathyco/x-types' ; public export interface FacetsGroup { /** The list of facets that belong to the group. */ facets : Facet [ ] ; /** The group unique identifier. */ id : string ; } public export interface FacetsService { param facetIds clearFilters ( facetIds ? ) : void ; param filter deselect ( filter ) : void ; param facetsGroup updateFacets ( facetsGroup ) : void ; param facetsGroup setFacets ( facetsGroup ) : void ; param filter select ( filter ) : void ; param filter toggle ( filter ) : void ; }