/** * @angular-modernizer/plugin-angular - Template Complexity Rule * * Detects complex operations in Angular templates that can cause performance issues * and side effects. * * Detection Patterns: * - Function calls in templates (method calls that may have side effects) * - Complex expressions in templates * - Multiple nested operations in template bindings * - Async operations in templates without proper handling * - Template expressions that are too long or complex * * This rule helps improve template performance and maintainability. */ import type { AnalysisRule, AnalysisContext, AnalysisResult } from '@angular-modernizer/plugin-system'; /** * Template Complexity Rule - detects complex operations in Angular templates. */ export declare class TemplateComplexityRule implements AnalysisRule { readonly id = "angular:template-complexity"; readonly name = "Template Complexity"; readonly description = "Detects complex operations in Angular templates that can cause performance issues and side effects"; readonly severity = "warning"; readonly category = "angular-performance"; readonly tags: string[]; analyze(context: AnalysisContext): Promise; private analyzeComponent; private isAngularComponent; private extractTemplateContent; private analyzeTemplateContent; private analyzeTemplateMethods; private isAngularBuiltInFunction; private isSimplePropertyAccess; } //# sourceMappingURL=angular-template-complexity.rule.d.ts.map