How to write 1.3 atmosphere retrocompatible packages?

Hello Everybody,
I want to create a package but i want it to be retrocompatible. Is enough to use both api.mainModule and api.export ?

Thank you in advance!