UNPKG

sca-tool

Version:

Universal static code analysis tool for calculating API operation costs across multiple frameworks (NestJS, Express, Fastify)

27 lines 930 B
import { FileAnalysis, ReportFormat } from './types'; /** * Report generator for API cost analysis */ export declare class ReportGenerator { /** * Generate report in specified format */ static generateReport(analysis: FileAnalysis, format?: ReportFormat): string; /** * Generate project report for multiple files */ static generateProjectReport(files: FileAnalysis[], format?: ReportFormat): string; private static generateTextReport; private static generateJsonReport; private static generateMarkdownReport; private static generateHtmlReport; private static generateProjectTextReport; private static generateProjectMarkdownReport; private static generateProjectHtmlReport; private static calculateProjectSummary; /** * Save report to file */ static saveReport(content: string, filePath: string): void; } //# sourceMappingURL=reports.d.ts.map