UNPKG

source-scraper-core

Version:
12 lines (11 loc) 495 B
import { Scraper } from './Scraper'; export declare class ScraperArray<T> extends Array<Scraper<T>> { constructor(length: number); constructor(...elements: Array<Scraper<T>>); readonly domains: string[]; getAllApplicable(url: string): Array<Scraper<T>>; getFirstApplicable(url: string): Scraper<T> | undefined; allApplicable(url: string): boolean; getByName(name: string): Scraper<T> | undefined; getByDomain(domain: string): Scraper<T> | undefined; }