/**
 * Shared selection utilities for data-table and multi-select components
 * @countermeasure/web-components/utils/selection
 */
/**
 * Toggle an item in a selection set.
 * Returns a new Set with the item added or removed.
 */
export declare function toggleSelection<T>(item: T, selected: Set<T>): Set<T>;
/**
 * Toggle all items — if all are selected, clear; otherwise select all.
 * Returns a new Set.
 */
export declare function toggleSelectAll<T>(items: T[], selected: Set<T>): Set<T>;
//# sourceMappingURL=selection.d.ts.map