UNPKG

youtube-video-summarizer-mcp

Version:
14 lines (13 loc) 452 B
import { VideoDetails } from "youtube-caption-extractor"; export type VideoInfo = VideoDetails; export declare class YouTubeClient { /** * Extract video ID from YouTube URL */ extractVideoId(url: string): string; /** * Get video information and captions using youtube-caption-extractor */ getVideoInfo(videoIdOrUrl: string, lang?: string): Promise<VideoDetails>; } export declare const youtubeClient: YouTubeClient;