import { type HttpAdapter } from "https://deno.land/x/grammy@v1.31.1/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