Export HttpClient types as interfaces instead of classes (#2779)