Earlier in my career, I was less willing to share salary information. But now that my compensation is above average, I always have the "I am paid toward the top of the range in this area, here is what I make now/would be looking for, so that we don't waste our time" conversation very early in the recruiting process and it ends up being a pretty good filter.
They are usually pretty open about saying "yeah, that's more than we can offer, thanks for your time", so if it were one of the few types of jobs I'd be willing to take a paycut for, it seems like there'd be an opportunity to let them know you are open to making less and go from there.