export interface IgetToken { access_token: string; expires_in: number; scope: Array; token_type: string; } declare type pagination = { cursor: string; }; declare type getUserInfo = { broadcaster_type: 'partner' | 'affiliate' | ''; description: string; display_name: string; id: string; login: string; offline_image_url: string; profile_image_url: string; type: 'staff' | 'admin' | 'global_mod' | ''; view_count: string; /** * @requires user:read:email scope */ email: string; created_at: string; }; declare type channelInfo = { broadcaster_language: string; broadcaster_login: string; display_name: string; game_id: string; game_name: string; id: string; is_live: boolean; tags_ids: Array; thumbnail_url: string; title: string; started_at: string; }; declare type followInfo = { from_id: string; from_login: string; from_name: string; to_id: string; to_name: string; followed_at: string; }; declare type categoriesInfo = { id: string; name: string; box_art_url: string; }; declare type streamInfo = { id: string; user_id: string; user_login: string; user_name: string; game_id: string; game_name: string; type: 'live' | ''; title: string; viewer_count: number; started_at: string; language: string; thumbnail_url: string; tag_ids: Array; is_mature: boolean; }; declare type extensionListInfo = { id: string; version: string; name: string; can_activate: boolean; type: Array; }; declare type cheeermotesImagesMetadata = { dark: { animated: { '1': string; '1.5': string; '2': string; '3': string; '4': string; }; static: { '1': string; '1.5': string; '2': string; '3': string; '4': string; }; }; light: { animated: { '1': string; '1.5': string; '2': string; '3': string; '4': string; }; static: { '1': string; '1.5': string; '2': string; '3': string; '4': string; }; }; }; declare type cheermotesMetada = { min_bits: string; id: string; color: string; images: cheeermotesImagesMetadata; can_cheer: boolean; show_in_bits_card: boolean; }; declare type cheermotesInfo = { prefix: string; tiers: Array; type: 'global_first_party' | 'global_third_party' | 'channel_custom' | 'display_only' | 'sponsored'; order: 1 | -1; last_updated: string; is_charitable: boolean; }; declare type getChannelInfo = { broadcaster_id: string; broadcaster_login: string; broadcaster_name: string; broadcaster_language: string; game_id: string; game_name: string; title: string; delay: number; }; declare type bitsLeaderboardInfo = { user_id: string; user_login: string; user_name: string; rank: number; score: number; }; export declare type JSONgetUserInfo = { data: Array; }; export declare type JSONfollowInfo = { total: number; data: Array; pagination: pagination; }; export declare type JSONsearchcategoriesInfo = { data: Array; pagination: pagination; }; export declare type JSONstreamInfo = { data: Array; pagination: pagination; }; export declare type JSONchannelsInfo = { data: Array; pagination: pagination; }; export declare type JSONuserExtensionList = { data: Array; }; export declare type JSONcheersMotes = { data: Array; }; export declare type JSONbitsLeaderboard = { data: Array; date_range: { started_at: string; ended_at: string; }; total: number; }; export declare type JSONgetChannel = { data: Array; }; export {};