/** * RouteDispatcher — match an incoming method+path to a registered handler. * Generic over the handler type so server and core reuse the same dispatcher * with their own context types. */ export declare class RouteDispatcher { private routes; register(method: string, path: string, handler: H): void; match(method: string, url: string): { handler: H; params: Record; } | null; /** Returns all HTTP methods registered for routes that match the given url pathname. */ methodsFor(url: string): string[]; /** Returns the full registered route manifest as method/path pairs. */ listRoutes(): Array<{ method: string; path: string; }>; } //# sourceMappingURL=route-dispatcher.d.ts.map