import type { HelixBanEventData, HelixResponse } from 'twitch'; import { HelixBanEvent } from 'twitch'; import type { WebHookListener } from '../WebHookListener'; import { Subscription } from './Subscription'; /** * @private */ export declare class BanEventSubscription extends Subscription { private readonly _broadcasterId; private readonly _userId?; constructor(handler: (data: HelixBanEvent) => void, client: WebHookListener, validityInSeconds: number | undefined, _broadcasterId: string, _userId?: string | undefined); get id(): string; protected transformData(response: HelixResponse): HelixBanEvent; protected _subscribe(): Promise; protected _unsubscribe(): Promise; }