import { type HttpAdapter } from "https://dotland.deno.dev/x/grammy@v1.31.0/convenience/frameworks.ts";
definition: (req: { headers: Record<string, string | string[] | undefined>; on: (event: string, listener: (chunk: unknown) => void) => req; once: (event: string, listener: () => void) => req; }, res: { writeHead: { (status: number): res; (status: number, headers: Record<string, string>): res; }; end: (json?: string) => void; }) => ReqResHandler