/** * @angular-modernizer/plugin-angular - Missing OnPush Change Detection Rule * * Detects Angular components that don't use OnPush change detection strategy. * OnPush change detection improves performance by only checking components when * their inputs change or when manually triggered. * * Detection Patterns: * - Components without ChangeDetectionStrategy.OnPush * - Components that should use OnPush but don't * * This rule helps improve Angular application performance. */ import type { AnalysisRule, AnalysisContext, AnalysisResult } from '@angular-modernizer/plugin-system'; /** * Missing OnPush Change Detection Rule - detects components without OnPush strategy. */ export declare class MissingOnPushRule implements AnalysisRule { readonly id = "angular:missing-onpush-change-detection"; readonly name = "Missing OnPush Change Detection"; readonly description = "Detects Angular components that should use OnPush change detection strategy"; readonly severity = "warning"; readonly category = "angular-performance"; readonly tags: string[]; analyze(context: AnalysisContext): Promise; private analyzeComponent; private getComponentDecorator; private hasOnPushStrategy; private shouldUseOnPush; private hasInputs; private hasComplexLogic; private hasManyDependencies; } //# sourceMappingURL=angular-missing-onpush.rule.d.ts.map