/** * EndpointMapper — OpenAPI Actions → Named MCP Actions * * Applies the naming cascade: * 1. operationId → snake_case (absolute priority) * 2. Fallback: method_lastPathSegment (only if no operationId) * * Also infers MCP annotations from HTTP methods. * * @module */ import type { ApiSpec } from '../parser/types.js'; /** * Apply naming and annotation inference to all actions in the spec. * * @param spec - Parsed OpenAPI IR (actions may have empty names) * @returns A new spec with fully resolved action names and annotations */ export declare function mapEndpoints(spec: ApiSpec): ApiSpec; /** * Infer MCP action annotations from the HTTP method. */ export declare function inferAnnotations(method: string): { readOnly?: boolean; destructive?: boolean; idempotent?: boolean; }; //# sourceMappingURL=EndpointMapper.d.ts.map