import type { HttpConnection } from './HttpConnection'; import type { HttpException } from './HttpException'; import type { HttpMethod } from './utils'; import type { IO } from '@principia/base/IO'; export declare type MatchMethod = HttpMethod | '*'; export declare class RouteMatcher { readonly method: MatchMethod; readonly path: string; readonly regex: RegExp; constructor(method: MatchMethod, path: string); match(conn: HttpConnection): IO; } //# sourceMappingURL=RouteMatcher.d.ts.map