Skottlossningen ska ha skett inomhus när enligt polisen en ”hotfull” situation uppstod.