declare class ConditionBase { /** * Negates the following assertion. */ get not(): this; /** * Grabs and returns current `subject` or a reference to subject remembered by `refName`. * @example * Combine together with `query()` to grab reference to an entity: * ```ts * const pile = test().query({ type: "pile" }).grab() * ``` * @example * grab previously remembered entity: * ```ts * test().remember("pile", { type: "pile" }) * const pile = test().grab("pile") * ``` */ grab(refName?: string): T; /** * @deprecated you can just grab state from context * @returns State related with this Conditions instance. */ grabState(): S; } export { ConditionBase };