import type { ExecutionTools } from '../../../execution/ExecutionTools'; import type { PrepareAndScrapeOptions } from '../../../prepare/PrepareAndScrapeOptions'; import type { Registered } from '../../../utils/$Register'; import type { Scraper } from '../Scraper'; import type { ScraperAndConverterMetadata } from './ScraperAndConverterMetadata'; /** * @@@ */ export type ScraperConstructor = Registered & ScraperAndConverterMetadata & ((tools: Pick, options: PrepareAndScrapeOptions) => Scraper); /** * TODO: [🎶] Naming "constructor" vs "creator" vs "factory" */