UNPKG

@promptbook/openai

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

15 lines (14 loc) 816 B
import type { ExecutionTools } from '../../../execution/ExecutionTools'; import type { PrepareAndScrapeOptions } from '../../../prepare/PrepareAndScrapeOptions'; import type { Scraper } from '../Scraper'; /** * Provides a collection of scrapers optimized for Node.js environment. * 1) `provideScrapersForNode` use as default * 2) `provideScrapersForBrowser` use in limited browser environment * * @public exported from `@promptbook/node` */ export declare function $provideScrapersForNode(tools: Pick<ExecutionTools, 'fs' | 'llm' | 'executables'>, options?: PrepareAndScrapeOptions): Promise<ReadonlyArray<Scraper>>; /** * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment * TODO: [🏓] Unite `xxxForServer` and `xxxForNode` naming */