/** * Prohibited Libraries Assessor * Detects financial and media processing libraries per Policy #28-30 * * Checks: * - package.json dependencies * - requirements.txt (Python) * - Source code imports (if sourceCodePath provided) * * Reference: Anthropic MCP Directory Policy #28-30 */ import { BaseAssessor } from "./BaseAssessor.js"; import { AssessmentContext } from "../AssessmentOrchestrator.js"; import type { ProhibitedLibrariesAssessment } from "../../../lib/assessmentTypes.js"; export declare class ProhibitedLibrariesAssessor extends BaseAssessor { /** * Run prohibited libraries assessment */ assess(context: AssessmentContext): Promise; /** * Create result when no files are available to scan (Issue #154) * Follows the pattern established by ConformanceAssessor */ private createSkippedResult; /** * Check if file is a source file worth scanning */ private isSourceFile; /** * De-duplicate matches, keeping the most severe */ private deduplicateMatches; /** * Calculate overall status from matches * * Issue #63: Status now considers dependency usage: * - ACTIVE dependencies are actively imported (high risk) * - UNUSED dependencies are listed but not imported (lower risk, recommend removal) * - UNKNOWN usage falls back to previous behavior */ private calculateStatusFromMatches; /** * Generate explanation */ private generateExplanation; /** * Generate recommendations * * Issue #63: Recommendations now distinguish between ACTIVE and UNUSED dependencies */ private generateRecommendations; /** * Build enrichment data for Stage B Claude validation. * Provides context for Claude to validate prohibited libraries findings. */ private buildEnrichmentData; /** * Build library inventory with usage analysis */ private buildLibraryInventory; /** * Build policy coverage showing what was checked */ private buildPolicyCoverage; /** * Infer security flags from library match */ private inferSecurityFlags; /** * Generate flags for libraries that warrant review */ private generateLibraryFlags; } //# sourceMappingURL=ProhibitedLibrariesAssessor.d.ts.map