import { FilteredSearch } from './FilteredSearch'; import { FacetFilter } from './types'; export type Facet = FacetFilter; export { FacetType } from './types'; /** * Do not extend FacetedSearch but instead use FilteredSearch. * FacetedSearch only still extists for backwards compatibility * and is defined in terms of FilteredSearch. */ /** * Associate Query objects with each other in a faceted search setup. * * @deprecated use FilteredSearch, a generalization of FacetedSearch */ export declare class FacetedSearch extends FilteredSearch { get facets(): FacetFilter[]; /** * Set the selected options for a given facet. */ setFacetSelection(facetEndpoint: string, selection: string | string[]): void; /** * Clear the selection for a given facet. */ clearFacetSelection(facetEndpoint?: string): void; }