import { PlannerConnection } from "./planner-connection.js";
class PlannerSource {
  name;
  #model;
  constructor(name, model) {
    this.name = name;
    this.#model = model;
  }
  connect(sort, filters, isRoot, baseConstraints, limit) {
    return new PlannerConnection(
      this.name,
      this.#model,
      sort,
      filters,
      isRoot,
      baseConstraints,
      limit
    );
  }
}
export {
  PlannerSource
};
//# sourceMappingURL=planner-source.js.map
