import type { SubscriptionData } from '../Subscription'; import { Subscription } from '../Subscription'; import type { UserData } from '../User/User'; import { User } from '../User/User'; /** @private */ export interface ChannelSubscriptionsResponse { _total: number; subscriptions: ChannelSubscriptionData[]; } /** @private */ export interface ChannelSubscriptionData extends SubscriptionData { user: UserData; } /** * A relation of a user subscribing to a previously given channel. */ export declare class ChannelSubscription extends Subscription { /** @private */ protected readonly _data: ChannelSubscriptionData; /** * The user subscribing to the given channel. */ get user(): User; /** * The ID of the user subscribing to the given channel. */ get userId(): string; }