import { EventHandler } from "./event-handler"; import { EVENT_TYPES } from "./event.types"; import { AnyFunc } from "./func.types"; export declare class EventBus { private readonly handlers; constructor(); addEvent(handler: EventHandler): void; deleteEvent(handler: EventHandler): void; changeEvent(handler: EventHandler, newFunc: AnyFunc): void; getEvent(type: EVENT_TYPES): AnyFunc[]; runEvent(type: EVENT_TYPES, ...args: any[]): void; } export declare const eventBus: EventBus; //# sourceMappingURL=event-bus.d.ts.map