UNPKG

@twurple/api

Version:

Interact with Twitch's API.

20 lines 911 B
import { type HelixEventSubSubscriptionData } from '../../interfaces/endpoints/eventSub.external.js'; import { HelixPaginatedRequestWithTotal } from '../../utils/pagination/HelixPaginatedRequestWithTotal.js'; import { HelixEventSubSubscription } from './HelixEventSubSubscription.js'; /** * A special case of {@link HelixPaginatedRequestWithTotal} with support for fetching the total cost and cost limit * of EventSub subscriptions. * * @inheritDoc */ export declare class HelixPaginatedEventSubSubscriptionsRequest extends HelixPaginatedRequestWithTotal<HelixEventSubSubscriptionData, HelixEventSubSubscription> { /** * Gets the total cost of EventSub subscriptions. */ getTotalCost(): Promise<number>; /** * Gets the cost limit of EventSub subscriptions. */ getMaxTotalCost(): Promise<number>; } //# sourceMappingURL=HelixPaginatedEventSubSubscriptionsRequest.d.ts.map