import type { ChannelData } from '../Channel/Channel'; import { Channel } from '../Channel/Channel'; import type { SubscriptionData } from '../Subscription'; import { Subscription } from '../Subscription'; /** @private */ export interface UserSubscriptionData extends SubscriptionData { channel: ChannelData; } /** * A relation of a previously given user subscribing to a channel. */ export declare class UserSubscription extends Subscription { /** @private */ protected readonly _data: UserSubscriptionData; /** * The subscribed channel. */ get channel(): Channel; /** * The ID of the subscribed channel. */ get channelId(): string; }