interface Events { 'code:updated': string; 'entities:updated': string; } export declare class EventNotifier extends EventTarget { private static instance; constructor(); static getInstance(): EventNotifier; next(event: EventName, payload: Events[EventName]): void; subscribe(event: EventName, consumerListener: (payload: EventPayload) => void): () => void; } export {};