/** @alpha */ export type EntityPredicate = EntityPredicateExpression | EntityPredicatePrimitive | { $all: EntityPredicate[]; } | { $any: EntityPredicate[]; } | { $not: EntityPredicate; }; /** @alpha */ export type EntityPredicateExpression = { [KPath in string]: EntityPredicateValue; } & { [KPath in `$${string}`]: never; }; /** @alpha */ export type EntityPredicateValue = EntityPredicatePrimitive | { $exists: boolean; } | { $in: EntityPredicatePrimitive[]; } | { $contains: EntityPredicateExpression; }; /** @alpha */ export type EntityPredicatePrimitive = string | number | boolean;