import { YouTube } from '..'; import { youtube_v3 } from '@googleapis/youtube'; /** * A YouTube [Video](./Video) rating (like/dislike). */ export declare class VideoRating { /** * 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 channel section object. */ youtube: YouTube; /** * Whether or not this a full channel section object. */ full: boolean; /** * The raw data of this channel section. */ data: any; /** * The ID of the video this rating is for. */ videoId: string; /** * The rating left on this video. */ rating: 'like' | 'dislike' | 'none' | 'unspecified'; constructor(youtube: YouTube, data: youtube_v3.Schema$VideoRating, full?: boolean); /** * @ignore */ private _init; /** * Fetches this video rating from the API and reassigns this object to the new rating object. * Only useful if you want updated rating info. */ fetch(): Promise; }