import { MaybeRefOrGetter, Ref } from 'vue'; import { BehaviorClass } from '@skewedaspect/sage'; import { GameEntityView, ViewNarrowedTo } from "./useSageEntity.js"; /** * Answers with a view for each entity carrying the tag, whatever its class, in the order the simulation * holds them. A view stays the same object for as long as its entity is in the collection, so a `v-for` * keyed by `id` reuses its components (design/ui.md#gameentityview). * * @param tag - The tag, read on every refresh, so a `Ref` or a getter gathers the entities carrying the tag * it names at that moment and a null tag gathers nothing (design/ui.md#which-entity-a-view-holds). * @param behaviorClass - Narrows the collection to the entities holding it, typed to its state and operations. */ export declare function useSageEntities(tag: MaybeRefOrGetter): Ref; export declare function useSageEntities(tag: MaybeRefOrGetter, behaviorClass: Class): Ref[]>;