import type { OpenAPIDefinition } from '@redocly/api-docs'; import type { XMcpConfig, XMcpSection } from '../types.js'; /** Whether the path or operation is hidden for `section`. */ export declare function isEndpointHidden(endpoint: { 'x-mcp'?: XMcpConfig; } | undefined, section: XMcpSection): boolean; /** * Returns false when the endpoint is hidden for `section`; otherwise strips x-mcp from the * output and returns true. */ export declare function checkEndpointAndDeleteXMcp(endpoint: { 'x-mcp'?: XMcpConfig; }, section: XMcpSection): boolean; /** Whether the definition's info-level x-mcp hides it for `section` (defaults to `docs`). */ export declare function isDefinitionHidden(info?: OpenAPIDefinition['info'], section?: XMcpSection): boolean; /** Whether the API explicitly opts into the gateway via `x-mcp.gateway`. */ export declare function hasGatewayConfig(info: OpenAPIDefinition['info'] | undefined): boolean; //# sourceMappingURL=xmcp-utils.d.ts.map