import { OnApplicationBootstrap, OnModuleDestroy } from '@nestjs/common'; import { ConfigService as NestConfigService } from '@nestjs/config'; import { ConfigService } from '../../config/services/config.service'; import { PluginConfigValidatorService } from '../../config/services/plugin-config-validator.service'; import { IManagedPluginService, ServiceStatusExtended } from './managed-plugin-service.interface'; export declare class PluginServiceManagerService implements OnApplicationBootstrap, OnModuleDestroy { private readonly configService; private readonly nestConfigService; private readonly pluginConfigValidator; private readonly logger; private readonly services; private readonly runtimeInfo; private readonly isCliMode; private startupComplete; private shutdownInProgress; constructor(configService: ConfigService, nestConfigService: NestConfigService, pluginConfigValidator: PluginConfigValidatorService); register(service: IManagedPluginService): void; unregister(pluginName: string, serviceId: string): void; onApplicationBootstrap(): Promise; stopAllServices(): Promise; onModuleDestroy(): Promise; handleConfigUpdated(payload?: { source: string; type: 'plugin' | 'module' | 'section'; }): Promise; getStatus(): Promise; getServiceStatus(pluginName: string, serviceId: string): Promise; restartService(pluginName: string, serviceId: string): Promise; startServiceManually(pluginName: string, serviceId: string): Promise; stopServiceManually(pluginName: string, serviceId: string): Promise; isRegistered(pluginName: string, serviceId: string): boolean; getRegisteredServices(): string[]; private getServiceKey; private startServiceIfEnabled; private startService; private stopService; private syncServiceState; private waitForState; private getSortedServices; private getServiceLevels; private getPluginConfig; private isConfigChangeResult; }