/** * Match a request path against a Trigger path with OpenAPI-style * `{param}` segments. Returns the extracted params on a match, or * `null` if the segments don't line up. * * matchPath("/api/contact", "/api/contact") → {} * matchPath("/api/posts/{id}", "/api/posts/abc") → { id: "abc" } * matchPath("/api/posts/{id}", "/api/posts") → null * matchPath("/api/posts", "/api/posts/abc") → null * * Pure path math — no I/O. Lives in `domain/service/` so adapters * (HTTP layer) can call it without dragging an HTTP framework dep. */ export declare function matchPath(triggerPath: string, requestPath: string): Record | null; /** Compile the immutable Trigger half once for mounted HTTP routes. */ export declare function compilePathMatcher(triggerPath: string): (requestPath: string) => Record | null; /** Index immutable routes; decode each request segment once, preserving input order. */ export declare function compileRouteMatcher(routes: readonly Route[]): (path: string) => { readonly route: Route; readonly params: Record; } | null; //# sourceMappingURL=PathMatcher.d.ts.map