An approximation-based framework for post-selective inference