import { ChangeDetectorRef, ElementRef, QueryList } from '@angular/core'; import { Facet, FacetValue } from '@spartacus/core'; import { Observable } from 'rxjs'; import { ICON_TYPE } from '../../../../../cms-components/misc/icon/icon.model'; import { FocusDirective } from '../../../../../layout/a11y/keyboard-focus/focus.directive'; 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; 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: KeyboardEvent): 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): { [key: string]: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }