/** * External API Scanner Assessor * * Scans source code for external API dependencies and checks for affiliation. * Helps identify: * - External services used (GitHub, Slack, AWS, etc.) * - Hardcoded URLs that may need privacy policy disclosure * - Server names that suggest affiliation without verification * * Part of Priority 2 gap-closing features. */ import { BaseAssessor } from "./BaseAssessor.js"; import type { AssessmentContext } from "../AssessmentOrchestrator.js"; import type { ExternalAPIScannerAssessment } from "../../../lib/assessmentTypes.js"; export declare class ExternalAPIScannerAssessor extends BaseAssessor { assess(context: AssessmentContext): Promise; /** * Check if file should be skipped */ private shouldSkipFile; /** * Scan a file for external API URLs */ private scanFileForAPIs; /** * Check if URL should be skipped */ private shouldSkipUrl; /** * Clean URL by removing trailing punctuation */ private cleanUrl; /** * Identify which service a URL belongs to */ private identifyService; /** * Check if server name suggests affiliation that needs verification */ private checkAffiliation; /** * Compute assessment status based on scan results */ private computeStatus; /** * Generate explanation text */ private generateExplanation; /** * Generate recommendations */ private generateRecommendations; /** * Create result when source code analysis is not available */ private createNoSourceResult; } //# sourceMappingURL=ExternalAPIScannerAssessor.d.ts.map