import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { GitHubConfig } from './types.js'; /** * GitHub MCP Server class * Wraps all logic for GitHub API interaction and MCP tool registration */ export declare class GitHubMCPServer { private server; private config; /** * Create GitHub MCP Server instance * @param config Optional configuration object, default values will be used if not provided */ constructor(config?: Partial); /** * Execute GitHub API request * @param endpoint API endpoint path * @param options fetch request options * @returns JSON data from API response * @throws If token is not configured or API request fails */ private githubApiRequest; /** * Register all MCP tools */ private registerTools; /** * Register addition tool (example tool) */ private registerAddTool; /** * Register list issues tool */ private registerListIssuesTool; /** * Connect to transport layer and start server * @param transport MCP transport layer instance */ connect(transport: Parameters[0]): Promise; /** * Gracefully shutdown the MCP server instance */ close(): Promise; } //# sourceMappingURL=server.d.ts.map