import type { ProjectKnowledge, MCPTransport } from '../../types/index.js';
/**
 * Returns true if the project is an MCP server.
 * Criteria: has @modelcontextprotocol/sdk dependency OR uses MCP transport classes.
 */
export declare function detectIsMcpServer(projectPath: string): Promise<boolean>;
/**
 * Detect which transport the MCP server uses.
 */
export declare function detectMcpTransport(projectPath: string): Promise<MCPTransport>;
/**
 * Detect tool names registered in the MCP server source code.
 */
export declare function detectMcpToolNames(projectPath: string): Promise<string[]>;
/**
 * Convenience check using project knowledge (no file I/O).
 * Used from tool handlers that already have knowledge loaded.
 */
export declare function isMcpServerProject(knowledge: ProjectKnowledge): boolean;
//# sourceMappingURL=mcp-server-detector.d.ts.map