Not sure if this is a universal answer but I had closure in February and was allowed to dive about 6 weeks later. Both cardiologist and surgeon were of the opinion that it had never been safer for me, from that perspective. (And I had 1-2 repeat bubble studies to ensure closure).
During the trip, I successfully dove without issue- kept the profile easy and used nitrox on the one deeper day. (The vacation was grand cayman, primarily easy shore dives). That said, I had some surgery related arrythmias during the healing process, and balancing the medications post procedure turned out a bit challenging, so I was prepared to skip the diving just because that wasn’t going my way and I wasn’t prepared to take chances. Fortunately we got things sorted out before the trip- but listening to your body is very important.
PFO closure is low risk, but that first 72 hours was still a bit scary- and the arrythmia problem really was irksome, bordering on concerning. The other complaint is they REALLY want you to avoid the dentist for 6 months. 5.5 months later, I’m sure I have a cavity or two. Take care of your teeth early. They are serious about not wanting you to have dental work.