/** * @module OAuth */ import { Request } from '../util'; import OAuth from '../oauth'; import * as YT from '..'; export declare class OAuthVideos { #private; oauth: OAuth; constructor(oauth: OAuth, request: Request, upload: Request); /** * Like, dislike, or remove a rating from a [Video](../../Library-Exports/classes/Video#). * @param videoResolvable The video to rate. * @param rating The rating to give the video. */ rateVideo(videoResolvable: YT.VideoResolvable, rating: 'like' | 'dislike' | 'none'): Promise; /** * Retrieve your rating on [Videos](../../Library-Exports/classes/Video#). * @param videoResolvable The video(s) to retrieve your rating from. */ getMyRatings(videoResolvable: T): Promise; /** * Report a [Video](../../Library-Exports/classes/Video#) for abuse. * @param videoResolvable The video to report. * @param reasonId The reason for reporting. (IDs can be found [here](https://developers.google.com/youtube/v3/docs/videoAbuseReportReasons/list)) * @param secondaryReasonId An optional second reason for reporting. * @param comments Any additional information. * @param language The language that the reporter speaks. */ reportAbuse(videoResolvable: YT.VideoResolvable, reasonId: string, secondaryReasonId?: string, comments?: string, language?: string): Promise; /** * Deletes a [Video](../../Library-Exports/classes/Video#). * @param videoResolvable The video to delete. */ deleteVideo(videoResolvable: YT.VideoResolvable): Promise; /** * Updates a [Video](../../Library-Exports/classes/Video#). * **If your request does not specify a value for a property that already has a value, * the property's existing value will be deleted.** * @param video The updated video object. */ updateVideo(video: YT.VideoUpdateResource): Promise; /** * Sets a new [Thumbnail](../../Library-Exports/type-aliases/Thumbnail) for a [Video](../../Library-Exports/classes/Video). * @param videoResolvable The video to set the thumbnail for. * @param image The image data and type to upload. */ setThumbnail(videoResolvable: YT.VideoResolvable, image: YT.Image): Promise; /** * Gets a list of [VideoAbuseReportReason](../../Library-Exports/classes/VideoAbuseReportReason#)s. */ getVideoAbuseReportReasons(): Promise; }