@promptbook/browser
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
14 lines (13 loc) • 547 B
TypeScript
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
import type { PipelineCollection } from './PipelineCollection';
/**
* Converts PipelineCollection to serialized JSON
*
* Note: Functions `collectionToJson` and `createCollectionFromJson` are complementary
*
* @public exported from `@promptbook/core`
*/
export declare function collectionToJson(collection: PipelineCollection): Promise<ReadonlyArray<PipelineJson>>;
/**
* TODO: [🧠] Maybe clear `sourceFile` or clear when exposing through API or remote server
*/