type alias MiddlewareHandlerimport { type MiddlewareHandler } from "https://deno.land/x/fresh@1.5.1/src/server/mod.ts"; Type ParametersoptionalState = Record<string, unknown>definition: (req: Request, ctx: MiddlewareHandlerContext<State>) => Response | Promise<Response>