export declare class Subscribable unknown = (obj: TArgs) => unknown> { protected _listeners: Set; /** * Subscribe to the subscribable. * * @param listener - The listener to subscribe to. * @returns A function to unsubscribe from the subscribable. */ subscribe: (listener: TListener) => (() => void); /** * Notify all listeners. * * @param update - The update to notify listeners with. */ notify: (update: TArgs) => void; hasListeners: () => boolean; /** * Unsubscribe all listeners. */ cleanup: () => void; } //# sourceMappingURL=subscribable.d.ts.map