UNPKG

@promptbook/remote-server

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

14 lines (13 loc) 547 B
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 */