define('@cardstack/tools/private-api', ['exports'], function (exports) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.transitionTo = transitionTo;
  function transitionTo(owner, routeName, models, queryParams, shouldReplace) {
    var routingService = owner.lookup('service:-routing');
    return routingService.transitionTo(routeName, models, queryParams, shouldReplace);
  }
});