type ToastEventHandler = { bivarianceHack(evt?: T): void; }['bivarianceHack']; type EventBus = { on(type: string, fn: ToastEventHandler): void; emit(type: string, evt?: T): void; off(type: string, fn: ToastEventHandler): void; }; declare global { interface VcGlobalSingletons { ToastEventBus: EventBus; } } declare const _default: EventBus; export default _default;