import { Chip } from '../../../buttons-and-indicators/chip/models/chip.interface'; /** * Handle the selected chips state. */ export declare class SelectedChipsState { /** * keep the selected chips as a map object * where the key is chip id and value is the selected chip */ private selectedChipsMap; /** * add chip to selectedChipsMap * @param chip */ addToSelected(chip: Chip): void; /** * remove chip from selectedChipsMap * @param chip */ removeFromSelected(chip: Chip): void; /** * add multiple chips to selectedChipsMap * @param chips */ addMultipleToSelected(chips: Chip[]): void; /** * check if chip is selected by a given chip id * @param chipId */ isChipSelected(chipId: string): boolean; /** * restSelectedChipsMap * rest Selected Chips Map * run this when from the parent when you rest the parent form * if not you will not be Able to re-add a previously added chip */ restSelectedChipsMap(): void; /** * check if a given chip is valid. * chip is considered as valid when it has a name and id props * @param chip */ private isValidChip; } //# sourceMappingURL=selected-chips-state.d.ts.map