import { IHttpHandlable, IHttpHandler } from './IHttpHandler'; export interface IHttpRouteHandlable extends IHttpHandlable { paths(): string[] | undefined; base?: string; } export interface IHttpRouteArgs { path?: string | string[]; paths?: string[]; routes?: HttpRoute[]; endpoint?: IHttpHandler; } export declare class HttpRoute implements IHttpHandler { private readonly paths; private readonly routes?; private readonly endpoint?; constructor(args: IHttpRouteArgs); canHandle(handlable: IHttpRouteHandlable): Promise; handle(handlable: IHttpRouteHandlable): Promise; findFirstCompatiblePath(handlable: IHttpRouteHandlable): string | null; } //# sourceMappingURL=HttpRoute.d.ts.map