Technical question - pre-post money - equity or enterprise

Are Pre-money and Post-money valuations values of equity or values of total enterprise value (equity + debt)?