import { ICommandNameFlags } from "./command"; declare type AddSet = ICommandNameFlags["ENTER_SUBSCRIBER_MODE"][number]; declare type DelSet = ICommandNameFlags["EXIT_SUBSCRIBER_MODE"][number]; /** * Tiny class to simplify dealing with subscription set * * @export * @class SubscriptionSet */ export default class SubscriptionSet { private set; add(set: AddSet, channel: string): void; del(set: DelSet, channel: string): void; channels(set: AddSet | DelSet): string[]; isEmpty(): boolean; } export {};