import type { Comparator } from '../../common'; export interface TreeMultiSetOptions { comparator?: Comparator; /** * Pass-through to the underlying RedBlackTree/BST `isMapMode` option. * * - `true` (recommended): MapMode store uses key→node index for fast lookups. * - `false`: Node Mode. */ isMapMode?: boolean; /** * Transform raw elements into keys. * When provided, the constructor accepts `Iterable` instead of `Iterable`. */ toElementFn?: (rawElement: R) => K; }