import { b as ExportAnalyzerOptions, E as ExportAnalysisResult } from '../index-BVI0gPRI.js'; export { a as ExportAnalysisSummary, c as ExportIssue, d as ExportRecommendation, e as ExportType, F as FileExportInfo, N as NextConfigAnalysis, R as ReExportType } from '../index-BVI0gPRI.js'; /** * @silverassist/performance-toolkit * * Export pattern analyzer for Next.js tree-shaking optimization. * * @module analyzer/analyzer * @author Miguel Colmenares * @license PolyForm-Noncommercial-1.0.0 */ /** * Export pattern analyzer for detecting suboptimal module export patterns * that impact tree-shaking effectiveness in Next.js projects. */ declare class ExportAnalyzer { private options; private fs; private path; constructor(options?: ExportAnalyzerOptions); /** * Performs complete export pattern analysis */ analyze(): Promise; /** * Dynamically load fs and path modules */ private loadModules; /** * Scans project directories for files to analyze */ private scanFiles; /** * Recursively scans a directory for matching files */ private scanDirectory; /** * Analyzes export patterns in multiple files */ private analyzeFiles; /** * Analyzes export patterns in a single file */ private analyzeFile; /** * Counts default exports in file content */ private countDefaultExports; /** * Counts named exports in file content */ private countNamedExports; /** * Analyzes re-export patterns in barrel files */ private analyzeReExports; /** * Detects export pattern issues */ private detectIssues; /** * Creates summary statistics from file analyses */ private createSummary; /** * Analyzes next.config.js/mjs for optimizePackageImports */ private analyzeNextConfig; /** * Detects Next.js framework info */ private detectFramework; /** * Generates actionable recommendations based on analysis results */ private generateRecommendations; } /** * Creates an export analyzer instance */ declare function createExportAnalyzer(options?: ExportAnalyzerOptions): ExportAnalyzer; /** * Quick function to analyze export patterns in a project */ declare function analyzeExports(options?: ExportAnalyzerOptions): Promise; export { ExportAnalysisResult, ExportAnalyzer, ExportAnalyzerOptions, analyzeExports, createExportAnalyzer };