import type { HttpContext } from "../server"; export type HttpMiddleware = (ctx: HttpContext, next: () => Promise) => Promise;