import { RoomEvent, RoomEventContent, StateEvent } from "./events/RoomEvent"; export interface EventContext { /** * The event that was used to build this context. */ event: RoomEvent; /** * The events that happened before the contextual event. */ before: RoomEvent[]; /** * The events that happened after the contextual event. */ after: RoomEvent[]; /** * The state of the room at the point of the last event returned. */ state: StateEvent[]; }