import { DeepComponentAnalysis } from '../utils/deep-ast-analyzer.js'; import { GitLabService } from './gitlab.js'; /** * Service that provides AST-based component analysis for IDS Web Components */ export declare class ASTAnalyzerService { private analyzer?; private gitlabService; private analysisCache; private isInitialized; private initializationError?; private componentPathMap; constructor(gitlabService: GitLabService); /** * Check if the AST analyzer is available and initialized */ isAvailable(): boolean; /** * Get initialization status and error message if any */ getStatus(): { initialized: boolean; error?: string; }; /** * Initialize the AST analyzer with component source files * This is optional - if no source files are available, AST analysis will be skipped */ initialize(componentPaths?: string[]): Promise; /** * Build a map of component names to file paths for quick lookup */ private buildComponentPathMap; /** * Get detailed component analysis using AST parsing */ getComponentAnalysis(componentName: string): Promise; /** * Get enhanced component properties including mixin properties */ getEnhancedProperties(componentName: string): Promise>; /** * Get component events with detailed trigger information */ getComponentEvents(componentName: string): Promise>; /** * Get component inheritance hierarchy */ getInheritanceInfo(componentName: string): Promise<{ className: string; tagName: string; directBaseClass?: string; baseClass?: string; mixins: string[]; } | null>; /** * Find component file path (uses the built component path map) */ private findComponentFile; /** * Clear analysis cache */ clearCache(): void; /** * Get cache statistics for monitoring */ getCacheStats(): { componentAnalysisCache: number; mixinCacheStats?: any; }; } //# sourceMappingURL=ast-analyzer.d.ts.map