I want to amend my answer.
Did they bring cookies? Because if they brought cookies, they aren't an intruder. They are a cookie delivering guest at that point.
"Intruder" and "Trespasser" feel like very different things. Someone might be a 'trespasser' for all sorts of reasons; If I live on the street corner without a fence you bet there's going to be lots of people who technically trespass by cutting the corner a couple feet. But an 'intruder' is actively malicious, they are here for no good reason.
But there's also far too little information available to give a straightforward answer. So I'll say what the police tell me I'm allowed to say; I'll make a measured decision and do my best to remember what I'm legally allowed to do.
I would repeat the same phrase over and over whenever they tried to talk to me.
Then I would stand idly by and let them take all of my most valuable possessions without blinking an eye.
Seeing how I’m a grandma that takes my melatonin by 9PM, I’m probably going to be asleep. Seeing how these things tend to happen in the later night or extremely early morning…I’m probably already well rested. I’m a light sleeper, regardless. First thing, call 911. Second thing, no joke, my upstairs bedroom is a loft with a secret passage so I’d probably hide in there.
I’m pretty much a weenie so I’m not gonna hero mode, but I’m pretty calm in extremely high stress situations so I think I’d be able to hold it together. Unfortunately, my cat would probably ask the intruder for a snack.