import mitt from 'mitt' type Events = { invalidToken: void, } export const eventBus = mitt()