UNPKG

@np-dev/youtubei-js

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

19 lines (18 loc) 748 B
import type NavigationEndpoint from '../classes/NavigationEndpoint.js'; import type PlayerOverlay from '../classes/PlayerOverlay.js'; import type Actions from '../../core/Actions.js'; import type { ApiResponse } from '../../core/Actions.js'; import type { ObservedArray, YTNode } from '../helpers.js'; declare class VideoInfo { #private; basic_info: import("../misc.js").VideoDetails | undefined; watch_next_feed?: ObservedArray<YTNode>; current_video_endpoint?: NavigationEndpoint; player_overlays?: PlayerOverlay; constructor(data: [ApiResponse, ApiResponse], actions: Actions); /** * Retrieves watch next feed continuation. */ getWatchNextContinuation(): Promise<VideoInfo>; } export default VideoInfo;