import type { UserIdResolvable } from 'twitch-common'; import { BaseApi } from '../BaseApi'; import { ChatBadgeList } from './ChatBadgeList'; /** * The API methods that deal with badges. * * Can be accessed using `client.badges` on an {@ApiClient} instance. * * ## Example * ```ts * const api = new ApiClient(new StaticAuthProvider(clientId, accessToken)); * const cheermotes = await api.badges.getGlobalBadges(); * ``` */ export declare class BadgesApi extends BaseApi { /** * Retrieves all globally applicable chat badges. * * @param language The language of the retrieved badge descriptions. */ getGlobalBadges(language?: string): Promise; /** * Retrieves all applicable chat badges for a given channel. * * @param channel The channel to retrieve the chat badges for. * @param includeGlobal Whether to include global badges in the result list. * @param language The language of the retrieved badge descriptions. */ getChannelBadges(channel: UserIdResolvable, includeGlobal?: boolean, language?: string): Promise; }