/** * @angular-modernizer/plugin-angular - Service Without Injectable Rule * * Detects Angular services that are missing the @Injectable decorator. * Services must have @Injectable() to be properly registered with Angular's DI system. * * Detection Patterns: * - Classes with 'Service' in the name but no @Injectable decorator * - Classes that are injected as dependencies but lack @Injectable * - Services in provider arrays without proper decoration * * This rule ensures proper Angular dependency injection setup. */ import type { AnalysisRule, AnalysisContext, AnalysisResult } from '@angular-modernizer/plugin-system'; /** * Service Without Injectable Rule - detects services missing @Injectable decorator. */ export declare class ServiceWithoutInjectableRule implements AnalysisRule { readonly id = "angular:service-without-injectable"; readonly name = "Service Without Injectable"; readonly description = "Detects Angular services that are missing the @Injectable decorator"; readonly severity = "error"; readonly category = "angular-di"; readonly tags: string[]; analyze(context: AnalysisContext): Promise; private analyzeClass; private hasAngularComponentDecorators; private hasInjectableDecorator; private isUsedAsDependency; } //# sourceMappingURL=angular-service-without-injectable.rule.d.ts.map