The nocode way is to trigger events from your reusable component and add a workflow from the parent that listens to that event. The data is passed as value of the event. I made a simple tutorial here.
There is an alternative method that requires a bit of code and uses a different approach. I made a tutorial here
At the moment, what is available is to emit triggers, which will be similar to onValueChange of input for example.
What is on the way, will be the ability to expose variable externally (so like input - value for example) and action (like play video)