import Client, { Thumbnails } from './Client'; /** * Extract a playlist ID from a playlist URL. */ export declare function getPlaylistID(url: string): string | null; /** * Get the highest quality available thumbnail for a video or playlist. */ export declare function getBestThumbnail(thumbnails: Thumbnails): string; declare type Chapter = { start: number; end: number; title: string; }; export interface UwMedia { sourceID: string; artist: string; title: string; duration: number; thumbnail: string; sourceData: { embedWidth: number | null; embedHeight: number | null; blockedIn: string[] | null; chapters?: Chapter[]; }; } /** * Parse artist and title information from a YouTube video and channel title. */ export declare function parseMediaTitle(media: UwMedia): UwMedia; /** * Fetch Video resources from the YouTube Data API. */ export declare function getVideos(client: Client, sourceIDs: string[]): Promise; export {};