UNPKG

claudes-office

Version:

CLI tool to initialize Claude's office in your project

47 lines (46 loc) 1.22 kB
/** * Project type detection utilities * These utilities help detect the type of project in a directory */ /** * Project type enumeration */ export declare enum ProjectType { NODE = "node", PYTHON = "python", JAVA = "java", GO = "go", RUST = "rust", RUBY = "ruby", PHP = "php", DOTNET = "dotnet", UNKNOWN = "unknown" } /** * Project type detection result */ export interface ProjectDetectionResult { /** Detected project type */ type: ProjectType; /** Confidence level (0-1) */ confidence: number; /** Details about the detection */ details: { /** Files that contributed to the detection */ matchedFiles: string[]; /** Additional information */ info: string; }; } /** * Detect the project type in a directory * @param dirPath - Path to the directory * @returns Detection result */ export declare function detectProjectType(dirPath: string): Promise<ProjectDetectionResult>; /** * Get suggested templates based on project type * @param projectType - Detected project type * @returns Suggested template directories */ export declare function getTemplatesForProjectType(projectType: ProjectType): string[];