/** * ComplexityFactor Value Object * * Represents a single factor contributing to task complexity * * @see REQ-SDD-001 - Task Complexity Evaluation * @see DES-SDD-001 - ComplexityAnalyzer */ /** * Factor names for complexity analysis */ export type ComplexityFactorName = 'scope' | 'dependencies' | 'fileCount' | 'testCoverage' | 'uncertainty'; /** * Immutable complexity factor value object */ export interface ComplexityFactor { /** Factor name */ readonly name: ComplexityFactorName; /** Weight in total score (0-1) */ readonly weight: number; /** Individual factor score (1-10) */ readonly score: number; /** Human-readable description */ readonly description: string; } /** * Default factor definitions with weights */ export declare const DEFAULT_FACTORS: readonly Omit[]; /** * Create a ComplexityFactor value object * * @param name - Factor name * @param weight - Weight (0-1) * @param score - Score (1-10) * @param description - Description * @returns ComplexityFactor */ export declare function createComplexityFactor(name: ComplexityFactorName, weight: number, score: number, description: string): ComplexityFactor; /** * Calculate weighted score contribution * * @param factor - Complexity factor * @returns Weighted score contribution */ export declare function getWeightedScore(factor: ComplexityFactor): number; //# sourceMappingURL=ComplexityFactor.d.ts.map