import { Breadcrumb } from '@spartacus/core'; import { Observable } from 'rxjs'; import { ICON_TYPE } from '@spartacus/storefront'; import { Page } from '@bloomreach/spa-sdk'; import { FacetList } from '../facet.model'; import { FacetService } from '../services/facet.service'; import * as i0 from "@angular/core"; /** * Active facets render the applied facet values as a list of focusable buttons * which can be used to remove the applied facet value. * * Inspired by cms-components/product/product-list/product-facet-navigation/active-facets/active-facets.component.ts * of SAP Spartacus Storefront project. */ export declare class ActiveFacetsComponent { protected facetService: FacetService; /** Active facets which are applied to the product results. */ facetList$: Observable; /** Configurable icon which is used for the active facet close button */ closeIcon: ICON_TYPE; page: Page; constructor(facetService: FacetService); getLinkParams(facet: Breadcrumb): Record; /** * The focus key is used to persist the focus on the facet when the DOM is being * recreated. We only apply the focus key for the given _active_ facet when there * the original facets is not available. This happens for non multi-valued facets. * * With this approach, the we keep the focus, either at the facet list or on the * active facets. */ getFocusKey(facetList: FacetList, facet: Breadcrumb): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }