UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

17 lines (16 loc) 788 B
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; /** * TODO: [🧠][🈴] Where is the best location for this file */