/** * Feature Analyzer * * Responsável por normalizar linguagem humana em objetivos técnicos * executáveis pela metodologia Ralph Wiggum. */ import { TechContext, ActionType, Layer } from '../../shared/types/index.js'; /** * Objetivo técnico normalizado */ export interface TechnicalObjective { action: ActionType; target: string; description: string; originalText: string; } /** * Análise de contexto do codebase */ export interface ContextAnalysis { techContext: TechContext; layer: Layer; existingPatterns: string[]; suggestedModules: string[]; } /** * Respostas às perguntas obrigatórias */ export interface RequiredAnswers { whereInCode: string; whichLayer: Layer; whichTechnology: string; whatExists: string[]; whatForbidden: string[]; } /** * Resultado da análise de feature */ export interface FeatureAnalysisResult { objective: TechnicalObjective; context: ContextAnalysis; answers: RequiredAnswers; } /** * Normaliza uma história de usuário ou feature em objetivo técnico */ export declare function normalize(humanText: string): TechnicalObjective; /** * Detecta o contexto tecnológico de um diretório */ export declare function detectTechStack(projectPath: string): TechContext; /** * Detecta a camada do projeto baseado no escopo */ export declare function detectLayer(description: string, techContext: TechContext): Layer; /** * Analisa uma feature completamente */ export declare function analyzeFeature(humanText: string, projectPath?: string): FeatureAnalysisResult; //# sourceMappingURL=feature-analyzer.d.ts.map