@promptbook/browser
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
22 lines (21 loc) • 897 B
TypeScript
import type { ExecutionTools } from '../../execution/ExecutionTools';
import type { PrepareAndScrapeOptions } from '../../prepare/PrepareAndScrapeOptions';
import { WebsiteScraper } from './WebsiteScraper';
/**
* Factory function to create an instance of WebsiteScraper.
* It bundles the scraper class with its metadata.
*
* @public exported from `@promptbook/website-crawler`
*/
export declare const createWebsiteScraper: ((tools: Pick<ExecutionTools, 'llm'>, options: PrepareAndScrapeOptions) => WebsiteScraper) & import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
title: string;
packageName: string;
className: string;
mimeTypes: string[];
documentationUrl: "https://github.com/webgptorg/promptbook/discussions/@@";
isAvailableInBrowser: false;
requiredExecutables: never[];
}>;
/**
* TODO: [🎶] Naming "constructor" vs "creator" vs "factory"
*/