type QueryResponse = { errors?: { message: string; }[]; data: TData; extensions: { challenge?: { type: 'integrity'; }; durationMilliseconds: number; operationName: TOperationName extends never ? never : TOperationName; requestID: string; }; }; interface BitsConfigContextGlobalCheerConfig { displayConfig: { backgrounds: ('light' | 'dark')[]; colors: { bits: number; color: string; __typename: 'CheermoteColorConfig'; }[]; order: ('SPONSORED' | 'DEFAULT' | 'CUSTOM' | 'CHARITY' | 'FIRST_PARTY' | 'THIRD_PARTY' | 'ANONYMOUS' | 'DISPLAY_ONLY')[]; scales: string[]; types: { animation: 'static' | 'animated'; extension: 'png' | 'gif'; __typename: 'CheermoteDisplayType'; }[]; __typename: 'CheermoteDisplayConfig'; }; groups: { templateURL: string; nodes: BitsConfigContextGlobalCheermote[]; __typename: 'CheermoteGroup'; }[]; __typename: 'GlobalCheerConfig'; } interface BitsConfigContextGlobalCheermote { id: string; prefix: string; type: 'SPONSORED' | 'DEFAULT' | 'CUSTOM' | 'CHARITY' | 'FIRST_PARTY' | 'THIRD_PARTY' | 'ANONYMOUS' | 'DISPLAY_ONLY'; campaign: null; tiers: { id: string; bits: number; canShowInBitsCard: boolean; __typename: 'CheermoteTier'; }[]; __typename: 'Cheermote'; } interface BitsConfigContextGlobalVariables { } interface BitsConfigContextGlobalData { cheerConfig: BitsConfigContextGlobalCheerConfig; __typename: 'Query'; } interface BrowsePageGame { id: string; slug: string; displayName: string; name: string; avatarURL: string; viewersCount: null | number; /** * Possible weird values: * * `0001-01-01 00:00:00 +0000 UTC` * * `2003-06-27 00:00:00 +0000 UTC` */ originalReleaseDate: null | string; tags: { id: string; isLanguageTag: boolean; localizedName: string; tagName: string; __typename: 'Tag'; }[]; __typename: 'Game'; } type BrowsePageSort = 'RELEVANCE' | 'VIEWER_COUNT'; interface BrowsePageAllDirectoriesVariables { limit: number; options: { recommendationsContext?: null | { platform?: null | 'web' | string & {}; }; sort: BrowsePageSort; tags?: null | string[]; }; cursor?: null | string; } interface BrowsePageAllDirectoriesData { directoriesWithTags: null | { edges: { cursor: string; trackingID: null | string; node: BrowsePageGame; __typename: 'GameEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'GameConnection'; }; } interface ChannelRootUser { id: string; description: null | string; displayName: string; primaryColorHex: null | string; profileImageURL: string; followers: { totalCount: null | number; __typename: 'FollowerConnection'; }; roles: { isPartner: boolean; isAffiliate: boolean; isStaff: null | boolean; isParticipatingDJ?: boolean; __typename: 'UserRoles'; }; channel: null | { id: string; socialMedias: null | { id: string; name: string; title: string; /** * Can also be a `mailto:` url */ url: string; __typename: 'SocialMedia'; }[]; schedule?: null | { id: string; nextSegment: null | { id: string; startAt: string; hasReminder: boolean; __typename: 'ScheduleSegment'; }; __typename: 'Schedule'; }; __typename: 'Channel'; }; lastBroadcast: null | { id: null | string; game: null | { id: string; displayName: string; __typename: 'Game'; }; __typename: 'Broadcast'; }; primaryTeam: null | { id: string; name: string; displayName: string; __typename: 'Team'; }; videos: null | { edges: { node: { id: string; status: 'RECORDED' | 'RECORDING'; game: null | { id: string; displayName: string; __typename: 'Game'; }; __typename: 'Video'; }; __typename: 'VideoEdge'; }[]; __typename: 'VideoConnection'; }; __typename: 'User'; } interface ChannelRootAboutPanelVariables { channelLogin: string; skipSchedule: boolean; includeIsDJ: boolean; } interface ChannelRootAboutPanelData { currentUser: null; user: null | ChannelRootUser; } interface ChannelShellUserDoesNotExist { userDoesNotExist: string; reason: 'UNKNOWN' | 'TOS_INDEFINITE' | 'TOS_TEMPORARY' | 'DMCA'; __typename: 'UserDoesNotExist'; } interface ChannelShellUser { id: string; login: string; displayName: string; primaryColorHex: null | string; profileImageURL: string; bannerImageURL: null | string; stream: null | { id: string; viewersCount: number; __typename: 'Stream'; }; channel: { id: string; self: { isAuthorized: boolean; restrictionType: null; __typename: 'ChannelSelfEdge'; }; trailer: { video: null | { id: string; self: { viewingHistory: null; __typename: 'VideoSelfEdge'; }; __typename: 'Video'; }; __typename: 'Trailer'; }; home: { preferences: { heroPreset: string; __typename: 'ChannelHomePreferences'; }; __typename: 'ChannelHome'; }; __typename: 'Channel'; }; __typename: 'User'; } interface ChannelShellVariables { login: string; } interface ChannelShellData { userOrError: ChannelShellUser | ChannelShellUserDoesNotExist; } interface ChannelVideoShelvesQueryClip { id: string; slug: string; thumbnailURL: '' | string & {}; createdAt: string; durationSeconds: number; isFeatured: boolean; isAutoCurated: boolean; clipTitle: string; clipViewCount: number; curator: null | { id: string; login: string; displayName: string; __typename: 'User'; }; clipGame: null | { id: string; slug: string; name: string; boxArtURL: string; __typename: 'Game'; }; broadcaster: { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; roles: { isPartner: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; broadcastIdentifier: null | { id: string; __typename: 'BroadcastIdOnly'; }; guestStarParticipants: null | { guests: null | (null | { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; description: null | string; __typename: 'User'; })[]; sessionIdentifier: '' | string & {}; __typename: 'GuestStarParticipants'; }; __typename: 'Clip'; } interface ChannelVideoShelvesQueryVideo { animatedPreviewURL: string; id: string; lengthSeconds: number; previewThumbnailURL: string; publishedAt: null | string; title: null | string; viewCount: number; game: null | { boxArtURL: string; id: string; slug: string; displayName: string; name: string; __typename: 'Game'; }; broadcastIdentifier: null | { id: string; __typename: 'BroadcastIdOnly'; }; owner: { displayName: string; id: string; login: string; profileImageURL: string; primaryColorHex: null | string; roles: { isPartner: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; self: { isRestricted: boolean; viewingHistory: null; __typename: 'VideoSelfEdge'; }; resourceRestriction: null | { id: string; type: 'SUB_ONLY_LIVE'; exemptions: { type: 'STAFF' | 'SITE_ADMIN' | 'PRODUCT' | 'PREVIEW'; actions: { name: string; title: string; __typename: 'ResourceRestrictionExemptionAction'; }[]; __typename: 'ResourceRestrictionExemption'; }[]; options: 'ALLOW_ALL_TIERS'[]; __typename: 'ResourceRestriction'; }; /** * @maxItems 0 */ contentTags: []; previewThumbnailProperties?: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Video'; } interface ChannelVideoShelvesQueryVideoShelf { id: string; title: string; description: null | string; type: 'TOP_CLIPS' | 'LATEST_BROADCASTS' | 'ALL_VIDEOS' | 'LATEST_NON_BROADCASTS' | 'COLLECTION'; collection: null | { id: string; description: string; owner: { id: string; login: string; __typename: 'User'; }; thumbnailURL: null | string; title: string; type: 'DEFAULT'; updatedAt: string; lengthSeconds: number; items: { totalCount: number; edges: { cursor: null | string; node: ChannelVideoShelvesQueryVideo; __typename: 'CollectionItemEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'CollectionConnection'; }; __typename: 'Collection'; }; items: (ChannelVideoShelvesQueryClip | ChannelVideoShelvesQueryVideo)[]; __typename: 'VideoShelf'; } interface ChannelVideoShelvesQueryVariables { includePreviewBlur?: boolean; channelLogin: string; first: number; } interface ChannelVideoShelvesQueryData { currentUser: null; user: null | { id: string; displayName: string; primaryColorHex: null | string; videoShelves: { edges: { cursor: null | string; node: ChannelVideoShelvesQueryVideoShelf; __typename: 'VideoShelfEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'VideoShelfConnection'; }; __typename: 'User'; }; } interface ChatListBadgesUser { id: string; primaryColorHex: null | string; broadcastBadges: { id: string; setID: string; version: string; title: string; image1x: string; image2x: string; image4x: string; clickAction: null | 'VISIT_URL' | 'SUBSCRIBE' | 'GET_TURBO'; clickURL: null | string; __typename: 'Badge'; }[]; self: null; __typename: 'User'; } interface ChatListBadgesVariables { channelLogin: string; } interface ChatListBadgesData { user: null | ChatListBadgesUser; } interface ClipsCardsGameClip { id: string; slug: string; title: string; viewCount: number; thumbnailURL: '' | string & {}; createdAt: string; durationSeconds: number; isFeatured: boolean; isAutoCurated: boolean; curator: null | { id: string; login: string; displayName: string; __typename: 'User'; }; game: null | { id: string; slug: string; name: string; boxArtURL: string; __typename: 'Game'; }; broadcaster: null | { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; roles: { isPartner: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; broadcastIdentifier: null | { id: string; __typename: 'BroadcastIdOnly'; }; guestStarParticipants: null | { guests: null | (null | { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; description: null | string; __typename: 'User'; })[]; sessionIdentifier: '' | string & {}; __typename: 'GuestStarParticipants'; }; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Clip'; } type ClipsCardsFilter = 'LAST_DAY' | 'LAST_WEEK' | 'LAST_MONTH' | 'ALL_TIME'; interface ClipsCardsGameVariables { categorySlug: string; limit: number; criteria?: { languages?: null | string[]; filter?: null | ClipsCardsFilter; shouldFilterByDiscoverySetting?: null | boolean; }; cursor?: null | string; } interface ClipsCardsGameData { game: null | { id: string; name: string; displayName: string; clips: null | { banners: null | 'MAY_CONTAIN_MATURE_CONTENT'[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; edges: { cursor: null | string; node: ClipsCardsGameClip; __typename: 'ClipEdge'; }[]; __typename: 'ClipConnection'; }; __typename: 'Game'; }; } interface ClipsCardsUserClip { id: string; slug: string; url: string; embedURL: string; title: string; viewCount: number; language: string; thumbnailURL: '' | string & {}; createdAt: string; durationSeconds: number; champBadge: null; isFeatured: boolean; isAutoCurated: boolean; curator: null | { id: string; login: string; displayName: string; __typename: 'User'; }; game: null | { id: string; slug: string; name: string; boxArtURL: string; __typename: 'Game'; }; broadcastIdentifier: null | { id: string; __typename: 'BroadcastIdOnly'; }; broadcaster: null | { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; roles: { isPartner: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; guestStarParticipants: null | { guests: null | (null | { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; description: null | string; __typename: 'User'; })[]; sessionIdentifier: '' | string & {}; __typename: 'GuestStarParticipants'; }; __typename: 'Clip'; } interface ClipsCardsUserVariables { login: string; limit: number; criteria?: { filter?: null | ClipsCardsFilter; shouldFilterByDiscoverySetting?: null | boolean; }; cursor?: null | string; } interface ClipsCardsUserData { user: null | { id: string; clips: null | { pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; edges: { cursor: null | string; node: ClipsCardsUserClip; __typename: 'ClipEdge'; }[]; __typename: 'ClipConnection'; }; __typename: 'User'; }; } interface ClipsDownloadButtonClip { id: string; createdAt: string; durationSeconds: number; viewCount: number; broadcaster: null | { id: string; __typename: 'User'; }; curator: null | { id: string; __typename: 'User'; }; game: null | { id: string; name: string; __typename: 'Game'; }; playbackAccessToken: { signature: string; value: string; __typename: 'PlaybackAccessToken'; }; videoQualities: { /** * Can be `""` if quality is not generated yet */ sourceURL: '' | string & {}; __typename: 'ClipVideoQuality'; }[]; __typename: 'Clip'; } interface ClipsDownloadButtonVariables { slug: string; } interface ClipsDownloadButtonData { clip: null | ClipsDownloadButtonClip; } interface DirectoryPageGameGame { id: string; name: string; displayName: string; streams: { banners: null | 'MAY_CONTAIN_MATURE_CONTENT'[]; edges: { cursor: null | string; trackingID: null | string; node: DirectoryPageGameStream; __typename: 'StreamEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'StreamConnection'; }; __typename: 'Game'; } type DirectoryPageGameSort = 'RELEVANCE' | 'VIEWER_COUNT' | 'VIEWER_COUNT_ASC' | 'RECENT'; interface DirectoryPageGameStream { id: string; title: string; viewersCount: number; previewImageURL: string; type: null | 'live'; broadcaster: null | { id: string; login: string; displayName: string; profileImageURL: string; primaryColorHex: null | string; roles: { isPartner: boolean; isParticipatingDJ: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; freeformTags: { id: string; name: string; __typename: 'FreeformTag'; }[]; game: null | { id: string; boxArtURL: string; name: string; displayName: string; slug: string; __typename: 'Game'; }; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Stream'; } interface DirectoryPageGameVariables { imageWidth?: number; slug: string; options: { sort: DirectoryPageGameSort; recommendationsContext?: null | { platform?: null | 'web' | string & {}; }; freeformTags?: null | string[]; tags?: null | string[]; broadcasterLanguages?: null | string[]; systemFilters?: null | string[]; }; sortTypeIsRecency: boolean; limit: number; includeIsDJ: boolean; } interface DirectoryPageGameData { game: null | DirectoryPageGameGame; } interface FfzRecentBroadcastsUser { id: string; videos: null | { edges: { cursor: null | string; node: FfzRecentBroadcastsVideo; __typename: 'VideoEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'VideoConnection'; }; __typename: 'User'; } interface FfzRecentBroadcastsVideo { id: string; title: null | string; createdAt: string; publishedAt: null | string; __typename: 'Video'; } interface FfzRecentBroadcastsVariables { id: string; type?: BroadcastType; sort: VideoSort; limit: number; } interface FfzRecentBroadcastsData { user: FfzRecentBroadcastsUser; } type BroadcastType = null | 'ARCHIVE' | 'HIGHLIGHT' | 'UPLOAD'; interface FilterableVideoTowerVideosVideo { animatedPreviewURL: string; id: string; lengthSeconds: number; previewThumbnailURL: string; publishedAt: null | string; title: null | string; viewCount: number; game: null | { boxArtURL: string; id: string; slug: string; displayName: string; name: string; __typename: 'Game'; }; broadcastIdentifier: null | { id: string; __typename: 'BroadcastIdOnly'; }; owner: null | { displayName: string; id: string; login: string; profileImageURL: string; primaryColorHex: null | string; roles: { isPartner: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; self: { isRestricted: boolean; viewingHistory: null; __typename: 'VideoSelfEdge'; }; resourceRestriction: null | { id: string; type: 'SUB_ONLY_LIVE'; exemptions: { type: 'STAFF' | 'SITE_ADMIN' | 'PRODUCT' | 'PREVIEW'; actions: { name: string; title: string; __typename: 'ResourceRestrictionExemptionAction'; }[]; __typename: 'ResourceRestrictionExemption'; }[]; options: 'ALLOW_ALL_TIERS'[]; __typename: 'ResourceRestriction'; }; /** * @maxItems 0 */ contentTags: []; previewThumbnailProperties?: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Video'; } type VideoSort = 'TIME' | 'VIEWS'; interface FilterableVideoTowerVideosVariables { includePreviewBlur?: boolean; limit: number; channelOwnerLogin: string; broadcastType?: BroadcastType; videoSort: VideoSort; } interface FilterableVideoTowerVideosData { user: null | { id: string; videos: null | { edges: { cursor: null | string; node: FilterableVideoTowerVideosVideo; __typename: 'VideoEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'VideoConnection'; }; __typename: 'User'; }; } interface GetPinnedChatMessage { id: string; sentAt: string; content: { text: string; fragments: { content: null | { emoteID: string; __typename: 'Emote'; } | { userID: string; login: string; __typename: 'User'; } | { bitsAmount: number; prefix: string; tier: number; __typename: 'CheermoteToken'; }; text: string; __typename: 'MessageFragment'; }[]; __typename: 'MessageContent'; }; parentMessage: null | { id: string; sentAt: string; content: { text: string; __typename: 'MessageContent'; }; sender: { id: string; displayName: string; __typename: 'User'; }; __typename: 'Message'; }; threadParentMessage: null | { id: string; content: { text: string; __typename: 'MessageContent'; }; sender: { id: string; displayName: string; __typename: 'User'; }; __typename: 'Message'; }; sender: { id: string; displayName: string; chatColor: null | string; displayBadges: { id: string; setID: string; version: string; __typename: 'Badge'; }[]; __typename: 'User'; }; __typename: 'Message'; } interface GetPinnedChatPinnedChatMessage { id: string; /** * Still `MOD` even if it's a broadcaster's message or pinned by a broadcaster */ type: 'MOD'; startsAt: string; updatedAt: string; endsAt: null | string; pinnedMessage: GetPinnedChatMessage; pinnedBy: null | { id: string; displayName: string; __typename: 'User'; }; __typename: 'PinnedChatMessage'; } interface GetPinnedChatVariables { channelID: string; count: number; } interface GetPinnedChatData { channel: null | { id: string; pinnedChatMessages: null | { edges: { node: GetPinnedChatPinnedChatMessage; cursor: null | string; __typename: 'PinnedChatMessageEdge'; }[]; pageInfo: { hasNextPage: boolean; __typename: 'PageInfo'; }; __typename: 'PinnedChatMessageConnection'; }; __typename: 'Channel'; }; } interface GetUserIdVariables { login: string; /** * ACTIVE – only active users * ALL – all users, including suspended */ lookupType: 'ACTIVE' | 'ALL'; } interface GetUserIdData { user: null | { id: string; __typename: 'User'; }; } interface GlobalBadgesBadge { id: string; setID: string; version: string; title: string; image1x: string; image2x: string; image4x: string; clickAction: null | 'VISIT_URL' | 'SUBSCRIBE' | 'GET_TURBO'; clickURL: null | string; __typename: 'Badge'; } interface GlobalBadgesVariables { } interface GlobalBadgesData { badges: GlobalBadgesBadge[]; } interface PlaybackAccessTokenStream { value: string; signature: string; authorization: { isForbidden: boolean; forbiddenReasonCode: 'NONE' | 'GEOBLOCKED'; __typename: 'PlaybackAccessTokenAuthorization'; }; __typename: 'PlaybackAccessToken'; } interface PlaybackAccessTokenVideo { value: string; signature: string; __typename: 'PlaybackAccessToken'; } interface PlaybackAccessTokenVariables { isLive: boolean; login: '' | string & {}; isVod: boolean; vodID: '' | string & {}; playerType: '' | 'embed' | 'site' | 'frontpage' | 'channel_home_carousel'; platform: 'web' | string & {}; } interface PlaybackAccessTokenData { streamPlaybackAccessToken?: null | PlaybackAccessTokenStream; videoPlaybackAccessToken?: null | PlaybackAccessTokenVideo; } interface SearchResultsPageChannel { displayName: string; id: string; login: string; profileImageURL: string; description: null | string; broadcastSettings: null | { id: string; title: string; __typename: 'BroadcastSettings'; }; followers: { totalCount: null | number; __typename: 'FollowerConnection'; }; lastBroadcast: null | { id: null | string; startedAt: null | string; __typename: 'Broadcast'; }; channel: null | { id: string; schedule: null | { id: string; nextSegment: null | { id: string; startAt: string; endAt: null | string; title: string; hasReminder: boolean; categories: { id: string; name: string; __typename: 'Game'; }[]; __typename: 'ScheduleSegment'; }; __typename: 'Schedule'; }; __typename: 'Channel'; }; self: null; latestVideo: null | { edges: { node: { id: string; lengthSeconds: number; title: null | string; previewThumbnailURL: string; templatePreviewThumbnailURL: string; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Video'; }; __typename: 'VideoEdge'; }[]; __typename: 'VideoConnection'; }; topClip: { edges: { node: { id: string; title: string; durationSeconds: number; thumbnailURL: '' | string & {}; slug: string; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Clip'; }; __typename: 'ClipEdge'; }[]; __typename: 'ClipConnection'; }; roles: { isPartner: boolean; isParticipatingDJ?: boolean; __typename: 'UserRoles'; }; stream: null | { id: string; previewImageURL: string; templatePreviewImageURL: string; type: null | 'live'; viewersCount: number; game: null | { id: string; slug: string; name: string; displayName: string; __typename: 'Game'; }; freeformTags: { id: string; name: string; __typename: 'FreeformTag'; }[]; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Stream'; }; watchParty: null; __typename: 'User'; } interface SearchResultsPageGame { id: string; slug: string; name: string; displayName: string; boxArtURL: string; templateBoxArtURL: string; viewersCount: null | number; tags: { id: string; isLanguageTag: boolean; localizedName: string; tagName: string; __typename: 'Tag'; }[]; __typename: 'Game'; } interface SearchResultsPageRelatedLiveChannel { id: string; stream: null | { id: string; viewersCount: number; previewImageURL: string; templatePreviewImageURL: string; game: null | { name: string; id: string; slug: string; __typename: 'Game'; }; broadcaster: { id: string; primaryColorHex: null | string; login: string; displayName: string; broadcastSettings: { id: string; title: string; __typename: 'BroadcastSettings'; }; roles: { isPartner: boolean; isParticipatingDJ?: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Stream'; }; watchParty: null; __typename: 'User'; } interface SearchResultsPageVideo { createdAt: string; id: string; lengthSeconds: number; previewThumbnailURL: string; templatePreviewThumbnailURL: string; title: null | string; viewCount: number; owner: { id: string; displayName: string; login: string; roles: { isPartner: boolean; __typename: 'UserRoles'; }; __typename: 'User'; }; game: null | { id: string; slug: string; name: string; displayName: string; __typename: 'Game'; }; previewThumbnailProperties: { blurReason: 'BLUR_NOT_REQUIRED' | 'BLUR_REASON_TYPE_SEXUAL_THEMES'; __typename: 'PreviewThumbnailProperties'; }; __typename: 'Video'; } interface SearchResultsPageSearchResultsVariables { platform?: null | 'web' | string & {}; query: string; options?: null | { targets?: null | { index: 'CHANNEL' | 'CHANNEL_WITH_TAG' | 'GAME' | 'VOD'; }[]; shouldSkipDiscoveryControl?: null | boolean; }; includeIsDJ: boolean; } interface SearchResultsPageSearchResultsData { searchFor: { banners: null | 'DISCOVERY_PREFERENCE'; channels: { cursor: string; edges: { trackingID: string; item: SearchResultsPageChannel; __typename: 'SearchForEdge'; }[]; score: null | number; totalMatches: number; __typename: 'SearchForResultUsers'; }; channelsWithTag: { cursor: string; edges: { trackingID: string; item: SearchResultsPageChannel; __typename: 'SearchForEdge'; }[]; score: null | number; totalMatches: number; __typename: 'SearchForResultUsers'; }; games: { cursor: string; edges: { trackingID: string; item: SearchResultsPageGame; __typename: 'SearchForEdge'; }[]; score: null | number; totalMatches: number; __typename: 'SearchForResultGames'; }; videos: { cursor: string; edges: { trackingID: string; item: SearchResultsPageVideo; __typename: 'SearchForEdge'; }[]; score: null | number; totalMatches: number; __typename: 'SearchForResultVideos'; }; relatedLiveChannels: { edges: { trackingID: string; item: SearchResultsPageRelatedLiveChannel; __typename: 'SearchForEdgeRelatedLiveChannels'; }[]; score: null | number; __typename: 'SearchForResultRelatedLiveChannels'; }; __typename: 'SearchFor'; }; } interface SearchTraySuggestionCategory { id: string; boxArtURL: string; game: { id: string; slug: string; __typename: 'Game'; }; __typename: 'SearchSuggestionCategory'; } interface SearchTraySuggestionChannel { id: string; login: string; profileImageURL: string; isLive: boolean; isVerified: boolean; user: { id: string; roles: { isParticipatingDJ?: boolean; __typename: 'UserRoles'; }; stream: null | { id: string; game: null | { id: string; __typename: 'Game'; }; __typename: 'Stream'; }; __typename: 'User'; }; __typename: 'SearchSuggestionChannel'; } interface SearchTraySuggestion { id: string; text: string; content: null | SearchTraySuggestionChannel | SearchTraySuggestionCategory; matchingCharacters: { start: number; end: number; __typename: 'SearchSuggestionHighlight'; }; __typename: 'SearchSuggestion'; } interface SearchTraySuggestions { edges: { node: SearchTraySuggestion; __typename: 'SearchSuggestionEdge'; }[]; tracking: { modelTrackingID: string; responseID: string; __typename: 'SearchSuggestionTracking'; }; __typename: 'SearchSuggestionConnection'; } interface SearchTraySearchSuggestionsVariables { queryFragment: string; withOfflineChannelContent?: null | boolean; includeIsDJ: boolean; } interface SearchTraySearchSuggestionsData { searchSuggestions: SearchTraySuggestions; } interface ShareClipRenderStatusBroadcaster { id: string; login: string; displayName: string; primaryColorHex: null | string; profileImageURL: string; isPartner: boolean; followers: { totalCount: null | number; __typename: 'FollowerConnection'; }; stream: null | { id: string; viewersCount: number; __typename: 'Stream'; }; lastBroadcast: { id: string; startedAt: string; __typename: 'Broadcast'; }; self: null; __typename: 'User'; } interface ShareClipRenderStatusClipAsset { id: string; aspectRatio: number; createdAt: string; creationState: 'CREATED' | 'CREATING'; /** * Can be `""` if it's not created yet */ thumbnailURL: '' | string & {}; curator: null | { id: string; login: string; displayName: string; profileImageURL: string; __typename: 'User'; }; videoQualities: { bitrate: number; codecs: string; duration: null | number; height: number; width: number; videoCodec: null | 'AVC' | 'HEVC' | string & {}; frameRate: number; quality: '360' | '480' | '720' | '1080' | '1440' | string & {}; /** * Can be `""` if quality is not generated yet */ sourceURL: '' | string & {}; __typename: 'ClipVideoQuality'; }[]; portraitMetadata: null | { portraitClipLayout: 'FULL' | 'STACKED'; fullTemplateMetadata: null | { mainFrame: { topLeft: { xPercentage: number; yPercentage: number; __typename: 'PortraitCropCoordinates'; }; bottomRight: { xPercentage: number; yPercentage: number; __typename: 'PortraitCropCoordinates'; }; __typename: 'PortraitCropMetadata'; }; __typename: 'FullTemplateMetadata'; }; stackedTemplateMetadata: null | { topFrame: { topLeft: { xPercentage: number; yPercentage: number; __typename: 'PortraitCropCoordinates'; }; bottomRight: { xPercentage: number; yPercentage: number; __typename: 'PortraitCropCoordinates'; }; __typename: 'PortraitCropMetadata'; }; bottomFrame: { topLeft: { xPercentage: number; yPercentage: number; __typename: 'PortraitCropCoordinates'; }; bottomRight: { xPercentage: number; yPercentage: number; __typename: 'PortraitCropCoordinates'; }; __typename: 'PortraitCropMetadata'; }; __typename: 'StackedTemplateMetadata'; }; __typename: 'PortraitClipCropping'; }; __typename: 'ClipAsset'; } interface ShareClipRenderStatusClip { id: string; slug: string; url: string; isAutoCurated: boolean; embedURL: string; title: string; viewCount: number; language: string; isFeatured: boolean; thumbnailURL: '' | string & {}; createdAt: string; isPublished: boolean; duration: number; durationSeconds: number; champBadge: null; videoOffsetSeconds: null | number; isViewerEditRestricted: boolean; hasCaptions: boolean; rawMediaRelativeOffset: number; rawMediaKey: string; assets: ShareClipRenderStatusClipAsset[]; curator: null | { id: string; login: string; displayName: string; profileImageURL: string; __typename: 'User'; }; game: null | { id: string; name: string; boxArtURL: string; displayName: string; slug: string; __typename: 'Game'; }; broadcast: { /** * For clips from highlights or uploads it will be `"1"` */ id: '1' | string & {}; /** * Seems to always be `null` */ title: null; __typename: 'Broadcast'; }; broadcaster: null | ShareClipRenderStatusBroadcaster; playbackAccessToken: { signature: string; value: string; __typename: 'PlaybackAccessToken'; }; video: null | { id: string; broadcastType: 'ARCHIVE' | 'HIGHLIGHT' | 'UPLOAD'; title: null | string; __typename: 'Video'; }; videoQualities: { /** * Can be `""` if quality is not generated yet */ sourceURL: '' | string & {}; __typename: 'ClipVideoQuality'; }[]; suggestedCropping: null; __typename: 'Clip'; } interface ShareClipRenderStatusVariables { slug: string; } interface ShareClipRenderStatusData { clip: null | ShareClipRenderStatusClip; } interface StreamMetadataUser { id: string; primaryColorHex: null | string; profileImageURL: string; roles: { isPartner: boolean; isParticipatingDJ?: boolean; __typename: 'UserRoles'; }; primaryTeam: null | { id: string; name: string; displayName: string; __typename: 'Team'; }; channel: null | { id: string; __typename: 'Channel'; }; lastBroadcast: null | { id: null | string; title: null | string; __typename: 'Broadcast'; }; stream: null | { id: string; type: null | 'live'; createdAt: string; game: null | { id: string; slug: string; name: string; __typename: 'Game'; }; __typename: 'Stream'; }; __typename: 'User'; } interface StreamMetadataVariables { channelLogin: string; includeIsDJ: boolean; } interface StreamMetadataData { user: StreamMetadataUser; } interface UseLiveVariables { channelLogin: string; } interface UseLiveData { user: null | { id: string; login: string; stream: null | { id: string; createdAt: string; __typename: 'Stream'; }; __typename: 'User'; }; } interface UseViewCountVariables { channelLogin: string; } interface UseViewCountData { user: null | { id: string; stream: null | { id: string; viewersCount: number; __typename: 'Stream'; }; __typename: 'User'; }; } interface VideoAccessTokenClipVariables { platform: 'web' | string & {}; slug: string; } interface VideoAccessTokenClipData { clip: null | { id: string; playbackAccessToken: { signature: string; value: string; __typename: 'PlaybackAccessToken'; }; videoQualities: { frameRate: number; quality: '360' | '480' | '720' | '1080' | '1440' | string & {}; /** * Can be `""` if quality is not generated yet */ sourceURL: '' | string & {}; __typename: 'ClipVideoQuality'; }[]; assets: ShareClipRenderStatusClipAsset[]; __typename: 'Clip'; }; } interface VideoMetadataUser { id: string; primaryColorHex: null | string; profileImageURL: string; isPartner: boolean; /** * If never streamed: `{ id: null, startedAt: null }` */ lastBroadcast: null | { id: null | string; startedAt: null | string; __typename: 'Broadcast'; }; stream: null | { id: string; viewersCount: number; __typename: 'Stream'; }; followers: { totalCount: null | number; __typename: 'FollowerConnection'; }; __typename: 'User'; } interface VideoMetadataVideo { id: string; title: null | string; description: null | string; previewThumbnailURL: string; createdAt: string; viewCount: number; publishedAt: null | string; lengthSeconds: number; broadcastType: 'ARCHIVE' | 'HIGHLIGHT' | 'UPLOAD'; owner: { id: string; login: string; displayName: string; __typename: 'User'; }; game: null | { id: string; slug: string; boxArtURL: string; name: string; displayName: string; __typename: 'Game'; }; __typename: 'Video'; } interface VideoMetadataVariables { channelLogin: '' | string & {}; videoID: string; } interface VideoMetadataData { user: null | VideoMetadataUser; currentUser: null; video: null | VideoMetadataVideo; } interface VideoPreviewOverlayVariables { login: string; } interface VideoPreviewOverlayData { user: null | { id: '' | string & {}; stream: null | { id: string; previewImageURL: string; restrictionType: null; __typename: 'Stream'; }; __typename: 'User'; }; } interface WatchLivePromptVariables { slug: string; } interface WatchLivePromptData { clip: null | { id: string; durationSeconds: number; thumbnailURL: '' | string & {}; broadcaster: null | { id: string; login: string; displayName: string; stream: null | { id: string; game: null | { id: string; displayName: string; __typename: 'Game'; }; __typename: 'Stream'; }; __typename: 'User'; }; __typename: 'Clip'; }; } type BitsConfigContextGlobalResponse = QueryResponse; type BrowsePageAllDirectoriesResponse = QueryResponse; type ChannelRootAboutPanelResponse = QueryResponse; type ChannelShellResponse = QueryResponse; type ChannelVideoShelvesQueryResponse = QueryResponse; type ChatListBadgesResponse = QueryResponse; type ClipsCardsGameResponse = QueryResponse; type ClipsCardsUserResponse = QueryResponse; type ClipsDownloadButtonResponse = QueryResponse; type DirectoryPageGameResponse = QueryResponse; type FfzRecentBroadcastsResponse = QueryResponse; type FilterableVideoTowerVideosResponse = QueryResponse; type GetPinnedChatResponse = QueryResponse; type GetUserIdResponse = QueryResponse; type GlobalBadgesResponse = QueryResponse; type PlaybackAccessTokenResponse = QueryResponse; type SearchResultsPageSearchResultsResponse = QueryResponse; type SearchTraySearchSuggestionsResponse = QueryResponse; type ShareClipRenderStatusResponse = QueryResponse; type StreamMetadataResponse = QueryResponse; type UseLiveResponse = QueryResponse; type UseViewCountResponse = QueryResponse; type VideoAccessTokenClipResponse = QueryResponse; type VideoMetadataResponse = QueryResponse; type VideoPreviewOverlayResponse = QueryResponse; type WatchLivePromptResponse = QueryResponse; interface QueryResponseMap { BitsConfigContext_Global: BitsConfigContextGlobalResponse; BrowsePage_AllDirectories: BrowsePageAllDirectoriesResponse; ChannelRoot_AboutPanel: ChannelRootAboutPanelResponse; ChannelShell: ChannelShellResponse; ChannelVideoShelvesQuery: ChannelVideoShelvesQueryResponse; ChatList_Badges: ChatListBadgesResponse; ClipsCards__Game: ClipsCardsGameResponse; ClipsCards__User: ClipsCardsUserResponse; ClipsDownloadButton: ClipsDownloadButtonResponse; DirectoryPage_Game: DirectoryPageGameResponse; FFZ_RecentBroadcasts: FfzRecentBroadcastsResponse; FilterableVideoTower_Videos: FilterableVideoTowerVideosResponse; GetPinnedChat: GetPinnedChatResponse; GetUserID: GetUserIdResponse; GlobalBadges: GlobalBadgesResponse; PlaybackAccessToken: PlaybackAccessTokenResponse; SearchResultsPage_SearchResults: SearchResultsPageSearchResultsResponse; SearchTray_SearchSuggestions: SearchTraySearchSuggestionsResponse; ShareClipRenderStatus: ShareClipRenderStatusResponse; StreamMetadata: StreamMetadataResponse; UseLive: UseLiveResponse; UseViewCount: UseViewCountResponse; VideoAccessToken_Clip: VideoAccessTokenClipResponse; VideoMetadata: VideoMetadataResponse; VideoPreviewOverlay: VideoPreviewOverlayResponse; WatchLivePrompt: WatchLivePromptResponse; } declare const MAX_QUERIES_PER_REQUEST = 35; declare const gqlRequest: (queries: [...TQuery], requestInit?: RequestInit) => Promise<{ [TIndex in keyof TQuery]: TQuery[TIndex] extends { operationName: infer TOperationName; } ? TOperationName extends keyof QueryResponseMap ? QueryResponseMap[TOperationName] : never : TQuery[TIndex] extends { __response: infer TRawQueryResponse; } ? TRawQueryResponse : never; }>; type RawQuery = { query: string; variables?: Record; }; type GetRawQueryReturnType = RawQuery & { /** Not actually exists. It needs only for types */ __response: QueryResponse; }; declare const getRawQuery: (query: RawQuery) => GetRawQueryReturnType; declare const getQueryBitsConfigContextGlobal: () => { operationName: "BitsConfigContext_Global"; variables: {}; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryBowsePageAllDirectories: (variables: BrowsePageAllDirectoriesVariables) => { operationName: "BrowsePage_AllDirectories"; variables: BrowsePageAllDirectoriesVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryChannelRootAboutPanel: (variables: ChannelRootAboutPanelVariables) => { operationName: "ChannelRoot_AboutPanel"; variables: ChannelRootAboutPanelVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryChannelShell: (variables: ChannelShellVariables) => { operationName: "ChannelShell"; variables: ChannelShellVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryChannelVideoShelvesQuery: (variables: ChannelVideoShelvesQueryVariables) => { operationName: "ChannelVideoShelvesQuery"; variables: ChannelVideoShelvesQueryVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryChatListBadges: (variables: ChatListBadgesVariables) => { operationName: "ChatList_Badges"; variables: ChatListBadgesVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryClipsCardsGame: (variables: ClipsCardsGameVariables) => { operationName: "ClipsCards__Game"; variables: ClipsCardsGameVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryClipsCardsUser: (variables: ClipsCardsUserVariables) => { operationName: "ClipsCards__User"; variables: ClipsCardsUserVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryClipsDownloadButton: (variables: ClipsDownloadButtonVariables) => { operationName: "ClipsDownloadButton"; variables: ClipsDownloadButtonVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryDirectoryPageGame: (variables: DirectoryPageGameVariables) => { operationName: "DirectoryPage_Game"; variables: DirectoryPageGameVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryFfzRecentBroadcasts: (variables: FfzRecentBroadcastsVariables) => { operationName: "FFZ_RecentBroadcasts"; variables: FfzRecentBroadcastsVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryFilterableVideoTowerVideos: (variables: FilterableVideoTowerVideosVariables) => { operationName: "FilterableVideoTower_Videos"; variables: FilterableVideoTowerVideosVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryGetPinnedChat: (variables: GetPinnedChatVariables) => { operationName: "GetPinnedChat"; variables: GetPinnedChatVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryGetUserId: (variables: GetUserIdVariables) => { operationName: "GetUserID"; variables: GetUserIdVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryGlobalBadges: () => { operationName: "GlobalBadges"; variables: {}; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryPlaybackAccessToken: (variables: PlaybackAccessTokenVariables) => { operationName: "PlaybackAccessToken"; variables: PlaybackAccessTokenVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQuerySearchResultsPageSearchResults: (variables: SearchResultsPageSearchResultsVariables) => { operationName: "SearchResultsPage_SearchResults"; variables: SearchResultsPageSearchResultsVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQuerySearchTraySuggestions: (variables: SearchTraySearchSuggestionsVariables) => { operationName: "SearchTray_SearchSuggestions"; variables: SearchTraySearchSuggestionsVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryShareClipRenderStatus: (variables: ShareClipRenderStatusVariables) => { operationName: "ShareClipRenderStatus"; variables: ShareClipRenderStatusVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryStreamMetadata: (variables: StreamMetadataVariables) => { operationName: "StreamMetadata"; variables: StreamMetadataVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryUseLive: (variables: UseLiveVariables) => { operationName: "UseLive"; variables: UseLiveVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryUseViewCount: (variables: UseViewCountVariables) => { operationName: "UseViewCount"; variables: UseViewCountVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryVideoAccessTokenClip: (variables: VideoAccessTokenClipVariables) => { operationName: "VideoAccessToken_Clip"; variables: VideoAccessTokenClipVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryVideoMetadata: (variables: VideoMetadataVariables) => { operationName: "VideoMetadata"; variables: VideoMetadataVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryVideoPreviewOverlay: (variables: VideoPreviewOverlayVariables) => { operationName: "VideoPreviewOverlay"; variables: VideoPreviewOverlayVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; declare const getQueryWatchLivePrompt: (variables: WatchLivePromptVariables) => { operationName: "WatchLivePrompt"; variables: WatchLivePromptVariables; extensions: { persistedQuery: { version: number; sha256Hash: string; }; }; }; export { type BitsConfigContextGlobalCheerConfig, type BitsConfigContextGlobalCheermote, type BitsConfigContextGlobalData, type BitsConfigContextGlobalResponse, type BitsConfigContextGlobalVariables, type BroadcastType, type BrowsePageAllDirectoriesData, type BrowsePageAllDirectoriesResponse, type BrowsePageAllDirectoriesVariables, type BrowsePageGame, type BrowsePageSort, type ChannelRootAboutPanelData, type ChannelRootAboutPanelResponse, type ChannelRootAboutPanelVariables, type ChannelRootUser, type ChannelShellData, type ChannelShellResponse, type ChannelShellUser, type ChannelShellUserDoesNotExist, type ChannelShellVariables, type ChannelVideoShelvesQueryClip, type ChannelVideoShelvesQueryData, type ChannelVideoShelvesQueryResponse, type ChannelVideoShelvesQueryVariables, type ChannelVideoShelvesQueryVideo, type ChannelVideoShelvesQueryVideoShelf, type ChatListBadgesData, type ChatListBadgesResponse, type ChatListBadgesUser, type ChatListBadgesVariables, type ClipsCardsFilter, type ClipsCardsGameClip, type ClipsCardsGameData, type ClipsCardsGameResponse, type ClipsCardsGameVariables, type ClipsCardsUserClip, type ClipsCardsUserData, type ClipsCardsUserResponse, type ClipsCardsUserVariables, type ClipsDownloadButtonClip, type ClipsDownloadButtonData, type ClipsDownloadButtonResponse, type ClipsDownloadButtonVariables, type DirectoryPageGameData, type DirectoryPageGameGame, type DirectoryPageGameResponse, type DirectoryPageGameSort, type DirectoryPageGameStream, type DirectoryPageGameVariables, type FfzRecentBroadcastsData, type FfzRecentBroadcastsResponse, type FfzRecentBroadcastsUser, type FfzRecentBroadcastsVariables, type FfzRecentBroadcastsVideo, type FilterableVideoTowerVideosData, type FilterableVideoTowerVideosResponse, type FilterableVideoTowerVideosVariables, type FilterableVideoTowerVideosVideo, type GetPinnedChatData, type GetPinnedChatMessage, type GetPinnedChatPinnedChatMessage, type GetPinnedChatResponse, type GetPinnedChatVariables, type GetRawQueryReturnType, type GetUserIdData, type GetUserIdResponse, type GetUserIdVariables, type GlobalBadgesBadge, type GlobalBadgesData, type GlobalBadgesResponse, type GlobalBadgesVariables, MAX_QUERIES_PER_REQUEST, type PlaybackAccessTokenData, type PlaybackAccessTokenResponse, type PlaybackAccessTokenStream, type PlaybackAccessTokenVariables, type PlaybackAccessTokenVideo, type QueryResponseMap, type SearchResultsPageChannel, type SearchResultsPageGame, type SearchResultsPageRelatedLiveChannel, type SearchResultsPageSearchResultsData, type SearchResultsPageSearchResultsResponse, type SearchResultsPageSearchResultsVariables, type SearchResultsPageVideo, type SearchTraySearchSuggestionsData, type SearchTraySearchSuggestionsResponse, type SearchTraySearchSuggestionsVariables, type SearchTraySuggestion, type SearchTraySuggestionCategory, type SearchTraySuggestionChannel, type SearchTraySuggestions, type ShareClipRenderStatusBroadcaster, type ShareClipRenderStatusClip, type ShareClipRenderStatusClipAsset, type ShareClipRenderStatusData, type ShareClipRenderStatusResponse, type ShareClipRenderStatusVariables, type StreamMetadataData, type StreamMetadataResponse, type StreamMetadataUser, type StreamMetadataVariables, type UseLiveData, type UseLiveResponse, type UseLiveVariables, type UseViewCountData, type UseViewCountResponse, type UseViewCountVariables, type VideoAccessTokenClipData, type VideoAccessTokenClipResponse, type VideoAccessTokenClipVariables, type VideoMetadataData, type VideoMetadataResponse, type VideoMetadataUser, type VideoMetadataVariables, type VideoMetadataVideo, type VideoPreviewOverlayData, type VideoPreviewOverlayResponse, type VideoPreviewOverlayVariables, type VideoSort, type WatchLivePromptData, type WatchLivePromptResponse, type WatchLivePromptVariables, getQueryBitsConfigContextGlobal, getQueryBowsePageAllDirectories, getQueryChannelRootAboutPanel, getQueryChannelShell, getQueryChannelVideoShelvesQuery, getQueryChatListBadges, getQueryClipsCardsGame, getQueryClipsCardsUser, getQueryClipsDownloadButton, getQueryDirectoryPageGame, getQueryFfzRecentBroadcasts, getQueryFilterableVideoTowerVideos, getQueryGetPinnedChat, getQueryGetUserId, getQueryGlobalBadges, getQueryPlaybackAccessToken, getQuerySearchResultsPageSearchResults, getQuerySearchTraySuggestions, getQueryShareClipRenderStatus, getQueryStreamMetadata, getQueryUseLive, getQueryUseViewCount, getQueryVideoAccessTokenClip, getQueryVideoMetadata, getQueryVideoPreviewOverlay, getQueryWatchLivePrompt, getRawQuery, gqlRequest };