Statistical Learning for Heterogeneous Treatment Effects: Pretraining, Prognosis, and Prediction