import { ScraperResponse } from "../types" ; /** All available scrapers */ export type Provider = "Mangasee" | "Mangadex" | "RCO" | "nhentai" | "nhentainet" | "Manganelo" | "ComicExtra" | "Mangahere" | "Mangadex5" | "Guya" ; export type ProviderId = "mangasee" | "mangadex" | "rco" | "nhentai" | "nhentainet" | "manganelo" | "comicextra" | "mangahere" | "mangadex5" | "guya" ; export interface SearchOptions { resultCount : number ; } export interface SearchError { error : string ; } /**
 * A scraper
 * This can be any of the scrapers
 */ export abstract class Scraper { public provider : Provider ; public canSearch : boolean ; public nsfw : boolean ; public searchDisplay ? : string ; public abstract scrape ( slug , chapterId ? ) ; public abstract search ( query , options ? ) ; }