import { AbstractServer } from "./abstract-server"; import { RequestMethods } from "./interfaces/request-method.inteface"; import { IVerb } from "./interfaces/verb.interface"; import { Handler, Middleware } from "./types/handler.type"; export declare class Router extends AbstractServer implements IVerb { private handlerMethods; private localMiddlewares; addEndpoint(method: string, path: string, handler: Handler, middlewares?: Middleware[]): void; use(middleware: Middleware): void; attach(path: string, requestMethods: RequestMethods): void; }