/**
 * Type declarations for test-downloader
 * Social media downloader package
 */

declare module "test-downloader" {
  export interface TestDownloaderResult {
    developer?: string;
    title?: string;
    url?: string | Array<{ hd?: string; sd?: string } | Record<string, unknown>>;
    thumbnail?: string;
    video?: string[];
    audio?: string[];
    HD?: string;
    Normal_video?: string;
    status?: string;
    message?: string;
  }

  export function rebelaldwn(url: string): Promise<TestDownloaderResult>;
  export function rebelfbdown(url: string): Promise<TestDownloaderResult>;
  export function rebelinstadl(url: string): Promise<TestDownloaderResult>;
  export function rebeltiktokdl(url: string): Promise<TestDownloaderResult>;
  export function rebeltwitter(url: string): Promise<TestDownloaderResult>;
  export function rebelyt(url: string): Promise<TestDownloaderResult>;
  export function rebelpindl(url: string): Promise<TestDownloaderResult>;
  export function rebelcapcutdl(url: string): Promise<TestDownloaderResult>;
  export function rebellikeedl(url: string): Promise<TestDownloaderResult>;
}