pub fn type_define_event(
actor: AgentId,
created_at: i64,
nonce: u64,
room_id: impl Into<String>,
declaration: TypeDeclaration,
) -> Event<TypeDeclaration>pub fn type_define_event(
actor: AgentId,
created_at: i64,
nonce: u64,
room_id: impl Into<String>,
declaration: TypeDeclaration,
) -> Event<TypeDeclaration>