import type { Entity } from "../../core/Entity"; import { System } from "../../core/System"; import { Selected } from "../components/Selected"; declare type SelectedEntity = Entity & { __selected: true; }; export declare class SelectedSystem extends System { static components: (typeof Selected)[]; readonly pure = true; data: WeakMap; constructor(); test(entity: Entity): entity is SelectedEntity; onAddEntity(entity: Entity): void; onRemoveEntity(entity: Entity): void; get selection(): ReadonlyArray; select(entity: Entity): boolean; setSelection(entities: ReadonlyArray): void; } export {};