import { type KeyedItem, type SelectionMaybeInverted } from '@deephaven/utils'; import type { WindowedListData } from './useWindowedListData'; /** * Given viewport data, maps the current selectedKeys to an optimized selection. * The keys are mapped to new values via a `mapItem` function. * @param viewportData The viewport to map selections for * @param mapItem A function to map an item in the viewport to a new value * @param getKey A function to get the key for an item in the viewport. */ export declare function useMappedSelection(viewportData: WindowedListData>, mapItem: (item: KeyedItem) => TValue, getKey: (i: number) => string): SelectionMaybeInverted; export default useMappedSelection; //# sourceMappingURL=useMappedSelection.d.ts.map