Ionic 5: generating an AnimationBuilder for forRoot config

There are many global properties for Ionic config that require AnimationBuilder type (see An AnimationBuilder needs to be created within IonicModule.forRoot() of app.module.ts.

How does one generate an AnimationBuilder inside of app.module.ts when we don’t have access to the Angular service, AnimationController? Ideally I would just like to call the createAnimation function in @ionic/core but this is not exported in @ionic/angular.