import { type CustomHandler } from "https://deno.land/x/hono@v2.5.5/types.ts";
Type Parameters
optional
P extends string | Partial<Environment> | Schema = stringoptional
E = Partial<Environment> | Partial<Schema>optional
S = Partial<Schema>Call Signatures
(c: Context<P extends string ? P : P extends Partial<Environment> ? string : P extends Partial<Schema> ? string : never, P extends Partial<Environment> ? P : P extends Partial<Schema> ? Partial<Environment> : E extends Partial<Environment> ? E extends Partial<Schema> ? Environment : E : E extends Partial<Schema> ? Partial<Environment> : Environment, S extends Schema ? S : P extends Schema ? P : E extends Schema ? E : any>, next: Next): Response | Promise<Response | undefined | void>