import { type MiddlewarePromise, type RouteBuilderArguments, MiddlewareRouteAsync } from "@akala/core"; import type { Request, Response } from './shared.js'; export declare class HttpRouteMiddleware extends MiddlewareRouteAsync { private readonly method; constructor(method: string, ...args: RouteBuilderArguments); isApplicable: (req: T[0]) => boolean; handle(...context: T): MiddlewarePromise; }