/** * @angular-modernizer/plugin-angular - Directive Without Selector Rule * * Detects Angular directives that are missing the selector property in their @Directive decorator. * Directives must have a selector to be applied to elements. * * Detection Patterns: * - @Directive decorators without selector property * - Directives with empty or invalid selectors * * This rule ensures directives can be properly applied to DOM elements. */ import type { AnalysisRule, AnalysisContext, AnalysisResult } from '@angular-modernizer/plugin-system'; /** * Directive Without Selector Rule - detects directives missing selector property. */ export declare class DirectiveWithoutSelectorRule implements AnalysisRule { readonly id = "angular:directive-without-selector"; readonly name = "Directive Without Selector"; readonly description = "Detects Angular directives that are missing the selector property"; readonly severity = "error"; readonly category = "angular-directive"; readonly tags: string[]; analyze(context: AnalysisContext): Promise; private analyzeClass; private getDirectiveDecorator; private hasValidSelector; } //# sourceMappingURL=angular-directive-without-selector.rule.d.ts.map