@promptbook/browser
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
14 lines (13 loc) • 611 B
TypeScript
import { $Register } from '../../../utils/$Register';
import type { ScraperAndConverterMetadata } from './ScraperAndConverterMetadata';
/**
* Global registry for storing metadata about all available scrapers and converters.
*
* 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 in different contexts (e.g., tests).
* @public exported from `@promptbook/core`
*/
export declare const $scrapersMetadataRegister: $Register<ScraperAndConverterMetadata>;
/**
* TODO: [®] DRY Register logic
*/