/** * Detects if a URL is a YouTube video and extracts the video ID. * Supports various YouTube URL formats. * * @param url - The URL to check * @returns The video ID if YouTube URL, null otherwise */ export default function getYouTubeVideoId(url: string): string | null;