Lightroom/Camera Raw: Luminosity masks for the adjustment brush

I'd like to be able to determine a luminosity mask for the adjustment brush, to make it more targeted and powerful than it already is.
The interface could be as simple as having two sliders on a small histogram, representing the in and out points of the mask.