import type { AndGuard, EventObject, Guard, MachineContext, NotGuard, OrGuard, StateInGuard, StateValue } from "./types/index.js"; import type { DoNotInfer } from "./types/common.js"; /** * Builtin guard combinators. Like XState they return frozen *functions* (named * `and` / `or` / `not` / `stateIn`) carrying the `BUILTIN` brand; calling one * throws. The interpreter evaluates them structurally. Parameters are * `DoNotInfer` so the generics (including `TParams`) come from the contextual * `guard` slot. */ export declare function and(guards: readonly Guard, DoNotInfer>[]): AndGuard; export declare function or(guards: readonly Guard, DoNotInfer>[]): OrGuard; export declare function not(guard: Guard, DoNotInfer>): NotGuard; /** True when the machine is in `stateValue` (`"#id"` checks node membership, anything else uses `matches()`). */ export declare function stateIn(stateValue: StateValue): StateInGuard;