UNPKG

qraft

Version:

A powerful CLI tool to qraft structured project setups from GitHub template repositories

34 lines 1.25 kB
import { DirectoryStructure } from './directoryScanner'; import { TagDetectionResult } from './tagDetector'; export interface TargetSuggestion { path: string; confidence: number; reason: string; category: 'framework' | 'language' | 'purpose' | 'structure'; } export interface StructureAnalysis { projectType: string; primaryLanguage: string; framework?: string | undefined; targetSuggestions: TargetSuggestion[]; isMonorepo: boolean; hasTests: boolean; hasDocumentation: boolean; complexity: 'simple' | 'moderate' | 'complex'; } export declare class StructureAnalyzer { private targetPatterns; analyzeStructure(structure: DirectoryStructure, tags: TagDetectionResult): StructureAnalysis; private determineProjectType; private determinePrimaryLanguage; private determineFramework; private generateTargetSuggestions; private addTagBasedSuggestions; private detectMonorepo; private detectTests; private detectDocumentation; private assessComplexity; getBestTargetSuggestion(analysis: StructureAnalysis): string; getSuggestionsByCategory(analysis: StructureAnalysis): Record<string, TargetSuggestion[]>; } //# sourceMappingURL=structureAnalyzer.d.ts.map