@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 574 B
TypeScript
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { PipelineCollection } from './PipelineCollection';
/**
* Converts PipelineCollection to serialized JSON
*
* Note: Functions `pipelineCollectionToJson` and `createPipelineCollectionFromJson` are complementary
*
* @public exported from `@promptbook/core`
*/
export declare function pipelineCollectionToJson(collection: PipelineCollection): Promise<ReadonlyArray<PipelineJson>>;
/**
* TODO: [🧠] Maybe clear `sourceFile` or clear when exposing through API or remote server
*/