/// import { EventEmitter as NodeJSEventEmitter } from 'events'; export declare class EventEmitter { private static readonly _emitters; channel: string; constructor(channel?: string); setChannelName(channel: any): void; getChannelName(): string; listChannels(): string[]; static setEmitterChannel(channel: string, emitter?: NodeJSEventEmitter): void; static getEmitterChannel(channel: string): NodeJSEventEmitter; emit(...args: any[]): void; } export declare function OnEvent(event: string, once?: boolean, channel?: string): (target: any, property: string, descriptor: any) => void;