@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
15 lines (14 loc) • 720 B
TypeScript
import type { PipelineString } from './PipelineString';
/**
* Function `validatePipelineString` will validate the if the string is a valid pipeline string
* It does not check if the string is fully logically correct, but if it is a string that can be a pipeline string or the string looks completely different.
*
* Note: [🔂] This function is idempotent.
*
* @param {string} pipelineString the candidate for a pipeline string
* @returns {PipelineString} the same string as input, but validated as valid
* @throws {ParseError} if the string is not a valid pipeline string
*
* @public exported from `@promptbook/core`
*/
export declare function validatePipelineString(pipelineString: string): PipelineString;