You can just decline in stores that anyone is allowed to just walk in and shop, but at places that you need a membership for, your membership contract usually requires that you let them look.
my friend employs the sunglasses and headphones technique where blatantly ignore them. They can't touch you, so they just shout a few times, and realize the futility and move on to the next shopper.