/** * Project type detection service * * Detects the project type by checking for language-specific manifest files. */ import type { ProjectType } from '../../types/index.js'; /** * Project detection result */ export interface ProjectDetectionResult { projectType: ProjectType; manifestFile: string | null; hasGit: boolean; confidence: 'high' | 'medium' | 'low'; } /** * Detect if the directory is a git repository */ export declare function detectGitRepository(rootPath: string): Promise; /** * Detect the project type based on manifest files */ export declare function detectProjectType(rootPath: string): Promise; /** * Get a human-readable project type name */ export declare function getProjectTypeName(type: ProjectType): string; /** * Read and parse package.json if it exists */ export declare function readPackageJson(rootPath: string): Promise | null>; //# sourceMappingURL=project-detector.d.ts.map