import type { UserNameResolvable } from 'twitch-common'; import { BaseApi } from '../BaseApi'; import { ChattersList } from './ChattersList'; /** * Different API methods that are not officially supported by Twitch. * * Can be accessed using `client.unsupported` on an {@ApiClient} instance. * * ## Example * ```ts * const api = new ApiClient(new StaticAuthProvider(clientId, accessToken)); * const events = await api.unsupported.getChatters('yourfavoritestreamer'); * ``` */ export declare class UnsupportedApi extends BaseApi { /** * Retrieves a list of chatters in the Twitch chat of the given channel. * * **WARNING:** In contrast to most other methods, this takes a channel *name*, not a user ID. * * @param channel The channel to retrieve the chatters for. */ getChatters(channel: UserNameResolvable): Promise; }