declare class Subscribable { protected listeners: Set; constructor(); subscribe(listener: TListener): () => void; hasListeners(): boolean; protected onSubscribe(): void; protected onUnsubscribe(): void; } export { Subscribable };