@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
26 lines (25 loc) • 981 B
TypeScript
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { PipelineString } from '../../pipeline/PipelineString';
/**
* Import the pipeline.book or pipeline.bookc file
*
* Note: Using here custom import to work in jest tests
* Note: Using sync version is 💩 in the production code, but it's ok here in tests
*
* @param path - The path to the file relative to examples/pipelines directory
*
* @private internal function of tests
*/
export declare function importPipelineWithoutPreparation(path: `${string}.book`): Promise<PipelineString>;
/**
* Imports pipeline without preparation.
*
* @private internal utility of `_importPipeline`
*/
export declare function importPipelineWithoutPreparation(path: `${string}.bookc`): Promise<PipelineJson>;
/**
* Import the pipeline.bookc file as parsed JSON
*
* @private internal function of tests
*/
export declare function importPipelineJson(path: `${string}.bookc`): Promise<PipelineJson>;