/** * * @property {import('../types').MessageHandlerFn} handler * @property {AbortController} controller */ export class SubscriptionTracker { /** @type {Map} */ _subs: Map; /** * @param {string} topic * @param {import('../types').MessageHandlerFn} handler * @param {AbortSignal} [signal] * @returns {AbortSignal} */ subscribe(topic: string, handler: import('../types').MessageHandlerFn, signal?: AbortSignal | undefined): AbortSignal; /** * @param {string} topic * @param {import('../types').MessageHandlerFn} [handler] */ unsubscribe(topic: string, handler?: import("../types").MessageHandlerFn | undefined): void; } //# sourceMappingURL=subscription-tracker.d.ts.map