import { type ItemEqualityComparer } from '../internals/itemEquality'; /** * The selection helpers shared by every component that can select either one * value or several (`Select`, `Combobox`). In multiple mode the selection is an * array and membership is what counts; in single mode it is the value itself. * * Every comparison goes through an `ItemEqualityComparer`, defaulting to * `Object.is` — pass the component's `isItemEqualToValue` to select by object * values rather than by reference. */ /** * Whether `value` is selected, given the current selection. */ export declare function isValueSelected(selectedValue: unknown, value: unknown, multiple: boolean, comparer?: ItemEqualityComparer): boolean; /** * The selection after `value` is pressed: a replacement normally, a toggle in * multiple mode. */ export declare function toggleSelectedValue(selectedValue: unknown, value: unknown, multiple: boolean, comparer?: ItemEqualityComparer): unknown; //# sourceMappingURL=selection.d.ts.map