declare module "xnxx-dl" { export interface SearchResult { title: string; url: string; } export interface VideoInfo { url: string; dlink?: string; title: string; thumbnail?: string; views: number; duration: string; likes?: string; rating?: string; } /** * Search for videos by keyword. */ export function search(query: string, page?: number): Promise; /** * Get detailed information about a video. */ export function getInfo(url: string): Promise; }