import type { Handler } from "../types"; import type { Router } from "./router"; export declare class Route { private path; private router; constructor(path: string, router: Router); get(...handlers: Handler[]): this; post(...handlers: Handler[]): this; put(...handlers: Handler[]): this; delete(...handlers: Handler[]): this; patch(...handlers: Handler[]): this; options(...handlers: Handler[]): this; head(...handlers: Handler[]): this; all(...handlers: Handler[]): this; } //# sourceMappingURL=route.d.ts.map