import YouTube from '..'; import { youtube_v3 } from '@googleapis/youtube'; /** * A YouTube [Video](./Video#) category. */ export declare class VideoCategory { /** * 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 category object. */ youtube: YouTube; /** * Whether or not this is a full category object. */ full: boolean; /** * The raw data of this category. */ data: any; /** * The ID of this category. */ id: string; /** * The [Channel](./Channel#) that created the category. */ channelId: string; /** * The category's title. */ title: string; /** * Whether or not videos can be associated with the category. */ assignable: boolean; constructor(youtube: YouTube, data: youtube_v3.Schema$VideoCategory, full?: boolean); /** * @ignore */ private _init; /** * Fetches this category from the API and reassigns this object to the new category object. * Only useful if `this.full` is false, or if you want updated category info. */ fetch(): Promise; /** * Fetches the channel associated with this category from the API. */ getChannel(): Promise; }