UNPKG

@promptbook/remote-server

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

13 lines (12 loc) 594 B
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<ExecutionTools, 'llm'>, options: PrepareAndScrapeOptions) => Scraper); /** * TODO: [🎶] Naming "constructor" vs "creator" vs "factory" */