import { ChartType, SelectableOption, SelectedSingleChartOption, ToggleSelectedOption } from '../public/modifier-options'; export declare abstract class FilterSelection { /** * The label that will be displayed in the chip. */ title: string; /** * Returns the tooltip for the chip. */ abstract getTooltip(): string; /** * Returns what has to be displayed in the chip. */ abstract getLabel(): string; /** * Returns a new object copy of the FilterSelection. */ abstract copy(): FilterSelection; /** * Returns the number of selected filter options. */ abstract getSize(): number; /** * Clears the selected options. */ abstract clearSelections(): void; constructor(title: string); } /** * Base class for representing the user's selection. */ export declare abstract class MultiselectLabelTagSelection extends FilterSelection { /** * Mapping to outputObject in */ id: string; selectedItems: Array; constructor(title: string, id: string); /** * Add the given item to the selected items. * * @param selectedItem */ abstract select(selectedItem: T): void; /** * Remove the given item from the selected items. * * @param deselectedItem */ abstract deselect(deselectedItem: T): void; /** * Checks if the given item is selected. * * @param item - Item to check */ abstract isItemSelected(item: T): boolean; } export type ToggleSelection = { id: string; selectedToggles: Array; }; export type SelectedSliderValue = { id: string; value: number; }; export type ChartSelection = { chartType: ChartType; selectableOptions: Array; selectedToggleOptions: ToggleSelection; selectedSliderValues: Array; selectedSingleSelectValues: SelectedSingleChartOption; };