// Loaded from https://deno.land/x/tinyhttp@0.1.18/types.ts import { NextFunction, Handler as RHandler, Middleware, UseMethodParams, Method } from 'https://esm.sh/@tinyhttp/router' import type { Request, Response } from './mod.ts' type QueryParams = { [key: string]: string | string[] } type AcceptsReturns = string | false | string[] type Protocol = 'http' | 'https' interface Ranges extends Array { type: string } interface Range { start: number end: number } export type Handler = RHandler export type { QueryParams, AcceptsReturns, Protocol, Range, Ranges, Method, NextFunction, RHandler, Middleware, UseMethodParams }