import type { PathMatchResult } from './types.js'; /** * Match a request path against OpenAPI path definitions. * * Handles path parameters (e.g., /pets/{petId} matches /pets/123) * and scores matches by specificity (exact segments preferred over parameters). */ export declare function matchPath(requestPath: string, specPaths: string[]): PathMatchResult | null; /** * Get the base path from a server URL. * E.g., "http://localhost:3333/api/v1" -> "/api/v1" */ export declare function extractBasePath(serverUrl: string): string; /** * Normalize a path by removing base path prefix if present. */ export declare function removeBasePath(requestPath: string, basePath: string): string; //# sourceMappingURL=path_matcher.d.ts.map