UNPKG

@promptbook/vercel

Version:

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

16 lines (15 loc) 873 B
import type { ExecutionTools } from '../execution/ExecutionTools'; import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson'; import type { PipelineString } from '../pipeline/PipelineString'; import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions'; import type { string_filename, string_pipeline_url } from '../types/typeAliases'; /** * @see ./wizard.ts `getPipeline` method * * @private usable through `ptbk run` and `@promptbook/wizard` */ export declare function $getCompiledBook(tools: Required<Pick<ExecutionTools, 'fs' | 'fetch'>>, pipelineSource: string_filename | string_pipeline_url | PipelineString, options?: PrepareAndScrapeOptions): Promise<PipelineJson>; /** * TODO: Write unit test * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment */