@promptbook/documents
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
15 lines (14 loc) • 627 B
TypeScript
import { $Register } from '../../../utils/$Register';
import type { ScraperConstructor } from './ScraperConstructor';
/**
* Registry for all available scrapers in the system.
* Central point for registering and accessing different types of content scrapers.
*
* Note: `$` is used to indicate that this interacts with the global scope
* @singleton Only one instance of each register is created per build, but there can be more than one in different build modules
* @public exported from `@promptbook/core`
*/
export declare const $scrapersRegister: $Register<ScraperConstructor>;
/**
* TODO: [®] DRY Register logic
*/