/** Ref-counted, reconnect-resilient registry of the managed auto-subscriptions. */
declare class AutoSubscriptionManager {
    private readonly refCountByFeature;
    private readonly disposers;
    constructor();
    private seed;
    private isActive;
    private subscribeTopics;
    private unsubscribeTopics;
    /** Subscribe every enabled handle's topics, converging the broker to the registry. Called on each (re)connect. */
    initialize(): void;
    subscribe(feature: Amity.AutoSubscription): void;
    unsubscribe(feature: Amity.AutoSubscription): void;
    subscriptions(): Amity.AutoSubscriptionState[];
    reset(): void;
}
export declare const getAutoSubscriptionManager: () => AutoSubscriptionManager;
/** Resets the registry to its default baseline when the session ends. */
export declare const resetAutoSubscriptionsOnLogout: () => Amity.Unsubscriber;
export {};
//# sourceMappingURL=autoSubscriptionManager.d.ts.map