import { motionValue as r } from "../value/index.es.js";
import { isMotionValue as m } from "../value/utils/is-motion-value.es.js";
import { startAnimation as u } from "./utils/transitions.es.js";
function f(i, o, t) {
  t === void 0 && (t = {});
  var n = m(i) ? i : r(i);
  return u("", n, o, t), {
    stop: function() {
      return n.stop();
    },
    isAnimating: function() {
      return n.isAnimating();
    }
  };
}
export {
  f as animate
};
//# sourceMappingURL=animate.es.js.map
