/// import type { EventEmitter } from "events"; export declare class OnlyController { #private; static create(this: new (eventBus: EventEmitter) => T, eventBus: EventEmitter): T; constructor(eventBus: EventEmitter); in(matchers: string | RegExp | Array): this; notIn(matchers: string | RegExp | Array): this; }