@promptbook/langtail
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
12 lines (11 loc) • 668 B
TypeScript
import type { SetOptional } from 'type-fest';
import type { ExecutionTools } from '../../../execution/ExecutionTools';
import type { KnowledgeSourceJson } from '../../../pipeline/PipelineJson/KnowledgeSourceJson';
import type { PrepareAndScrapeOptions } from '../../../prepare/PrepareAndScrapeOptions';
import type { ScraperSourceHandler } from '../Scraper';
/**
* @@@
*
* @public exported from `@promptbook/core`
*/
export declare function makeKnowledgeSourceHandler(knowledgeSource: SetOptional<KnowledgeSourceJson, 'name'>, tools: Pick<ExecutionTools, 'fs'>, options?: Pick<PrepareAndScrapeOptions, 'rootDirname' | 'isVerbose'>): Promise<ScraperSourceHandler>;