export declare class System { private socket; private status; private depManager; private pluginInjector; private manualStartListener; constructor(); /** * starts all in config activated plugins */ start(): void; /** * loads all plugins given as dependencies */ loadPlugins(deps: any): void; /** * start the given plugin * dependencies will be started at first */ startPlugin(plugin: string): boolean; /** * loads all required dependencies of a plugin * required plugins which are not enabled by autostart will be started * optionale plug-ins not */ loadDependencies(dep: any, plugin: string): boolean; /** * dependency resolver for tiny di injector * loads always the default part * -> can only resolve classes which are exported as default */ dependencyResolver(moduleId: string): any; /** * set the status of a plugin * the control system will be informed via socket */ changePluginStatus(plugin: string, status: boolean): void; /** * manually start of an plugin thourgh an event received by the socket * start plugin and inform plugins */ manualStart(plugin: string): void; addManualStartListener(fn: Function): void; }