TransitionFunction: (
    node: Element,
    namedParameters?: object,
) => TransitionConfig

Defines the shape of a transition function.