Question about Shortcuts iCloud Sync and iOS12 & 13


I’m still on iOS 12 with all of my devices. After thinking about upgrading my iPhone to iOS 13, the question about my iPad Air came to my mind:

Because I can’t update it to iOS 13, I will then have Shortcuts on iOS 12 and 13. What happens to my synced shortcuts? Do all of them get updated to iOS 13 and then synced to my iPad? Does this mean that I need to have 2 versions of each shortcut, one for each iOS version? What happens when I edit a shortcut on my iPad? Does it get synced to my iPhone and then converted?