import { type HttpContext } from './HttpContext.js'; export type HttpNext = () => Promise; export type HttpHandlerFn = (ctx: HttpContext, next: HttpNext) => Promise; /** * Dictionary used to store parsed querystring and headers, * both of which can have multiple values per key. */ export type HttpDict = Record;