Error with UDestructibleComponent in Unreal Engine 5.1.

I got this error: Cannot find ‘class’, ‘delegate’, ‘enum’ or ‘struct’ with name ‘UDestructibleComponent’ when not using ApexDestruction module in Build.cs. When I use the module, the project doesn’t open.

DestroyableObstacle.h

class UDestructibleComponent;

UCLASS()
class SPATIONS_API ADestroyableObstacle : public AActor
{
GENERATED_BODY()

public:
ADestroyableObstacle();

protected:
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
UDestructibleComponent* MeshCompDestro;
};

/////////////////////////////////////////////////////////////////////////////////

DestroyableObstacle.cpp

#include “DestroyableObstacle.h”
#include “DestructibleComponent.h”

ADestroyableObstacle::ADestroyableObstacle()
{
MeshCompDestro = CreateDefaultSubobject(TEXT(“Root”));
RootComponent = MeshCompDestro;
MeshCompDestro->SetSimulatePhysics(true);
MeshCompDestro->SetConstraintMode(EDOFMode::None);
}

When the project builds I can read that ApexDestruction is deprecated, but I don’t see anything in the documentation. If this is true, what component can I use?