import { inertia } from "../generators/inertia.js";
import { keyframes } from "../generators/keyframes.js";
import { spring } from "../generators/spring/index.js";
const transitionTypeMap = {
  decay: inertia,
  inertia,
  tween: keyframes,
  keyframes,
  spring
};
function replaceTransitionType(transition) {
  if (typeof transition.type === "string") {
    transition.type = transitionTypeMap[transition.type];
  }
}
export {
  replaceTransitionType
};
//# sourceMappingURL=replace-transition-type.js.map
