import { HttpMethod, RouteRegistration } from "./http-adapter"; import { SolumjsHandler } from "./http-types"; export interface RouteMatch { handler: SolumjsHandler; params: Record; patternPath: string; } export declare class Router { private readonly routes; add(method: HttpMethod, prefix: string, path: string, handler: SolumjsHandler): void; register(prefix: string, registration: RouteRegistration): void; match(method: string, path: string): RouteMatch | undefined; } //# sourceMappingURL=router.d.ts.map