// Generated by bynkc — do not edit by hand.
// composition root for `demo.api` Worker.

import { type ServiceBinding } from "../../runtime.js";
import * as handlers from "./handlers.js";

export interface Env {
  DEMO_COUNTER: ServiceBinding;
}

export function compose(env: Env) {
  const deps = { env };
  return {
    async tick(id: any) {
      return handlers.tick.call(id, deps);
    },
  };
}
