Can we use FormAction class in rasa 2.x?

Hi, I know FormAction class is deprecated in rasa 2.x but i was wondering can we still use it in rasa 2.x?

And if we use it will it give a warning or error?

if we can use FormAction class then can we also define forms in stories and domain.yml as we used to do in rasa 1.x? Thanks