[feature] added events declaration macros