import { State } from "../../state/state.js"; import { ChildTrait } from "../../traits/child.js"; import { Conditions } from "../conditions.js"; import { ConditionsContextBase } from "../types.js"; export type BotEntityAuxContext = { entity: ChildTrait; } & ConditionsContextBase; export type BotEntityAuxConditions = Conditions>; /** * Helper type for `test().test(callback)` related to bot's "entitiesFilter". * Context will only contain state and entity for assertion. */ export type BotEntityAuxAssertionTester = Parameters>["test"]>[0];