declare class EventBus { subscribers: [string, (...args: any[]) => void][]; constructor(); subscribe(event: T, callback: (...args: any[]) => void): void; unsubscribe(event: T, callback: (...args: any[]) => void): void; unsubscribeAll(): void; publish(event: T, args?: unknown): void; } export declare const global: EventBus; export {};