import { PlaylistItemParts, PlaylistParts } from '../types/Parts'; import { YouTube, Video, Thumbnail, PageOptions, VideoResolvable, PaginatedResponse } from '..'; import { youtube_v3 } from '@googleapis/youtube'; /** * A YouTube playlist. */ export declare class Playlist { /** * The name of the endpoint used for this entity. */ static endpoint: string; /** * The parts to request for this entity. */ static part: string; /** * The fields to request for this entity. */ static fields: string; /** * The YouTube object that created this playlist. */ youtube: YouTube; /** * The raw data of this playlist. */ data: any; /** * Whether or not this is a full playlist object. */ full: boolean; /** * The ID of this playlist. */ id: string; /** * The title of the playlist. */ title: string; /** * The description of the playlist. */ description: string; /** * The videos in the playlist. Only available after calling [`Playlist.fetchVideos()`](#fetchvideos). * **These are partial**, meaning they are missing some data. * See the properties they include [here](https://developers.google.com/youtube/v3/docs/playlistItems#resource-representation). * Use [`YouTube.getVideo(playlist.videos)`](./YouTube#getvideo) to fetch the full objects while not spamming your quota * like you would using a loop. */ videos: PaginatedResponse