UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

24 lines (23 loc) 780 B
import type { TaskJson } from '../../pipeline/PipelineJson/TaskJson'; /** * Code fence language used when stringifying a pipeline task. * * @private internal type of `createTaskSerialization` */ type PipelineTaskContentLanguage = 'markdown' | 'text' | 'javascript' | 'typescript' | 'python' | ''; /** * All derived serialization details needed to render one task section. * * @private internal type of `createTaskSerialization` */ type TaskSerialization = { readonly commands: Array<string>; readonly contentLanguage: PipelineTaskContentLanguage; }; /** * Collects all task-specific serialization details. * * @private internal utility of `pipelineJsonToString` */ export declare function createTaskSerialization(task: TaskJson): TaskSerialization; export {};