The event type for when animate.enter and animate.leave are used with function callbacks.
animate.enter
animate.leave
type AnimationCallbackEvent = {target: Element; animationComplete: VoidFunction}