/** * Project Detection and Validation Utilities * Detects existing MCP server projects and validates project structure */ import { ProjectContext, ComponentType } from '../types/index.js'; /** * Detect if the current directory contains a valid MCP server project */ export declare function detectMcpProject(targetPath?: string): Promise; /** * Validate component name according to TypeScript and naming conventions */ export declare function validateComponentName(name: string, type: ComponentType): { isValid: boolean; error?: string; }; /** * Check if a component with the given name already exists */ export declare function checkComponentExists(projectContext: ProjectContext, componentType: ComponentType, componentName: string): Promise<{ exists: boolean; existingFile?: string; }>; /** * Get the directory for a specific component type */ export declare function getComponentDirectory(type: ComponentType): string; /** * Generate the appropriate file name for a component */ export declare function generateComponentFileName(name: string, type: ComponentType): string; /** * Generate class name from component name */ export declare function generateClassName(name: string, type: ComponentType): string; /** * Generate variable name from component name */ export declare function generateVariableName(name: string, type: ComponentType): string; /** * Generate registry key from component name */ export declare function generateRegistryKey(name: string): string; //# sourceMappingURL=project-detector.d.ts.map