import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { ToolAnnotations } from '@modelcontextprotocol/sdk/types.js'; interface Tool { name: string; title: string; description: string; parameters: z.ZodObject; annotations: ToolAnnotations; execute: (params: any) => Promise; } interface DevelopersApi { listServices(): Promise; getDocumentation(serviceId: string): Promise; getDocumentationSection(serviceId: string, sectionId: string): Promise; getDocumentationPage(pagePath: string): Promise; getApiOperations(apiSpecificationPath: string): Promise; getApiOperationDetails(apiSpecificationPath: string, method: string, path: string): Promise; fetchGithubGuide?(url: string): Promise; } interface ToolContext { client: DevelopersApi; serviceId?: string; apiSpecificationPath?: string; } declare const tools: (context: ToolContext) => Tool[]; interface MastercardDevelopersAgentToolkitConfig { service?: string; apiSpecification?: string; } declare class MastercardDevelopersAgentToolkit extends McpServer { constructor(config?: MastercardDevelopersAgentToolkitConfig); private registerAllTools; } declare function buildContext(config: MastercardDevelopersAgentToolkitConfig): ToolContext; export { type DevelopersApi, MastercardDevelopersAgentToolkit, type MastercardDevelopersAgentToolkitConfig, type Tool, type ToolContext, buildContext, tools };