import type { Handler, HandlerContext, RouteRegistryConfig } from "./types.js"; type SpanAttributes = Record; export declare function buildRouteRegistrySpanAttributes(req: Request, url: URL, ctx: HandlerContext): SpanAttributes; export declare class RouteRegistry { private handlers; private config; constructor(config?: RouteRegistryConfig); register(handler: Handler): this; registerAll(handlers: Handler[]): this; execute(req: Request, ctx: HandlerContext): Promise; getHandlers(): ReadonlyArray; clear(): this; remove(name: string): this; has(name: string): boolean; getStats(): { totalHandlers: number; handlersByPriority: Record; handlerNames: string[]; }; } export {}; //# sourceMappingURL=registry.d.ts.map