import TreeCollection from '../collection/treeCollection'; import { AdditionalDefault } from '../collection/types'; import { StrategyOptions } from '../strategy/types'; declare class ImmutableSelectionStrategy { private strategy; constructor(collection: TreeCollection, options: StrategyOptions); /** * Возвращает новый набор, в котором к `items` добавлены `addedItems`. * @param items Текущий набор. * @param addedItems Добавляемые элементы. */ add(items: string[], addedItems: string[]): string[]; /** * Возвращает новый набор, в котором из `items` удалены `removedItems`. * @param items Текущий набор. * @param removedItems Удаляемые элементы. */ remove(items: string[], removedItems: string[]): string[]; } export default ImmutableSelectionStrategy;