We’re looking at cutting up light spotlights into our decking. Got some ip68 rated lights but like you say trey have a sealed transformer box with a lead out to a standard plug. Plan is to cut the plug off and wire it into some kind of outdoor suitable joining box. Going to get power to hat from an armoured cable going into the garage where we’re going to have a small consumer unit wired in.
At the same time we may have some other lights out in the flower beds and a double outdoor socket in he BBQ shelter so I can plug in a stereo / beer fridge etc.
Beyond my experience so I think I’m going to get an electrician in to do it. I work for a bank, I know my limits!