import { FilterManager, KlevuFilterResultOptions, KlevuFilterResultSlider } from "@klevu/core";
export type KlevuFacetMode = "checkbox" | "radio";
/**
 * Rendering items of single facet with all its options or a slider.
 *
 * Manager property must be set for this component to work.
 *
 * @csspart facet-heading - Heading of the facet
 */
export declare class KlevuFacet {
  #private;
  el: HTMLKlevuFacetElement;
  /**
   * From which options to build facet. Single option value from Klevu SDK FilterManager. Either this or slider must be set.
   */
  option?: KlevuFilterResultOptions;
  /**
   * From which slider to build facet.
   */
  slider?: KlevuFilterResultSlider;
  /**
   * Originating filter manager which to modify. This is the most important property of the component.
   * It will be used to modify the filter state for queries.
   */
  manager: FilterManager;
  /**
   * Which mode should facets be in
   */
  mode: KlevuFacetMode;
  /**
   * Set predefined order for options. Unfound values are in original order in end
   */
  customOrder?: string[];
  /**
   * Should the facet be in accordion
   */
  accordion?: boolean;
  /**
   * Start accordion open
   */
  accordionStartOpen?: boolean;
  /**
   * Override label text with custom value
   */
  labelOverride?: string;
  /**
   * Show all options
   */
  showAll: boolean;
  filterSelectionUpdate(event: any): void;
  render(): any;
}
