@itwin/presentation-frontend
Version:
Frontend of iModel.js Presentation library
20 lines • 901 B
TypeScript
/** @packageDocumentation
* @module UnifiedSelection
*/
import { Key, Keys } from "@itwin/presentation-common";
/**
* Helper class for working with selection.
* @public
* @deprecated in 5.0 - will not be removed until after 2026-06-13. This is unnecessary after switching to [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md)
* package. A similar method to this in the new system is `Selectables.load()`.
*/
export declare class SelectionHelper {
private constructor();
/**
* Re-map the given keyset for selection. This means all instance node keys get converted
* to instance keys, because in that case we want to select instances instead of nodes. All
* other types of keys ar left as is.
*/
static getKeysForSelection(keys: Readonly<Keys>): Key[];
}
//# sourceMappingURL=SelectionHelper.d.ts.map