EventHandlerMap: {
    closed: (() => void);
    degraded: ((e: Error) => void);
}