/** * Contains common implementation for store */ export default class BaseStore { private _listeners; private _isDisposed; /** * Initializes a new instance of BaseStore */ constructor(); /** * Add a listener to this store * @param listener - the listener callback */ addListener(listener: () => void): void; /** * Removes a listener from the store * @param listener - the listener callback */ removeListener(listener: () => void): void; /** * Removes all the registered listeners */ removeAllListeners(): void; /** * Removes a listener from the store * @returns the count of listeners tied to this store */ count(): number; /** * Invokes all listeners tied to this store */ emitChange(): void; /** * Disposes all listeners */ dispose(): void; } //# sourceMappingURL=BaseStore.d.ts.map