import { ChangeDetectorRef, ElementRef, QueryList } from '@angular/core'; import { Facet, FacetValue } from '@spartacus/core'; import { Observable } from 'rxjs'; import { ICON_TYPE, FocusDirective } from '@spartacus/storefront'; import { Page } from '@bloomreach/spa-sdk'; import { FacetCollapseState } from '../facet.model'; import { FacetService } from '../services/facet.service'; import * as i0 from "@angular/core"; export declare class FacetComponent { protected facetService: FacetService; protected elementRef: ElementRef; protected cd: ChangeDetectorRef; protected _facet: Facet; state$?: Observable; /** configurable icon that is used to collapse the facet group */ expandIcon: ICON_TYPE; collapseIcon: ICON_TYPE; isMultiSelect?: boolean; values?: QueryList>; keyboardFocus?: FocusDirective; set facet(value: Facet); get facet(): Facet; page: Page; constructor(facetService: FacetService, elementRef: ElementRef, cd: ChangeDetectorRef); /** * Handles clicking the heading of the facet group, which means toggling * the visibility of the group (collapse / expand) and optionally focusing * the group. */ toggleGroup(event: UIEvent): void; get isExpanded(): boolean; openLink(event: Event): void; /** * Increases the number of visible values for the facet. This is delegated * to `facetService.increaseVisibleValues`. */ increaseVisibleValues(): void; /** * Decreases the number of visible values for the facet. This is delegated * to `facetService.decreaseVisibleValues`. */ decreaseVisibleValues(): void; getLinkParams(value: FacetValue): Record; getMoreFacetValues(facet: Facet, state: FacetCollapseState): FacetValue[] | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }