Motion sensor integrated light wiring diagram

I am in the US. 5 year old construction.
I have not found a solution and would like to understand how to wire it before buying. The Lowes and Home Depot type sites do not have much description so I have not figured out how to tell if they have the multiple inputs, or what those multiple inputs look like on a one-line/schematic. It seems like any multiple inputs would limit sales of those units to new construction.

For a PIR, I have searched around for exterior, independent PIR. This plus a Shelly1 would overcome the lack of trigger signal @Enoo cites. But the overwhelming forum answer is to use an internal PIR in a protected location. DSC has a $200 unit. The only credible recommendation seems to be a gaurdline RF (still $$), hacked per this thread. See the posts around Nov-19. There is another RF unit, but I would have to integrate a sonoff RF or other unit to read it, and I did not want to spend that much effort, and wifi MQTT is my preferred.
Depressing not finding exterior solutions.