You can use these as you would with vanilla Bukkit events, as such:
As with normal events, you need to register the event in your onEnable method.
Each of these events are called with a dev.demeng.grantx.api.Grant object, which contains information about the grant that has been activated, expired, or revoked. Access this object by using #getGrant(). Methods in this class are documented (click here).