@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
19 lines (18 loc) • 788 B
TypeScript
import type { $PipelineJson } from '../../commands/_common/types/CommandParser';
import type { MarkdownSection } from '../../utils/markdown/parseMarkdownSection';
import type { PipelineString } from '../../pipeline/PipelineString';
/**
* Parsed markdown structure split into the pipeline head and task sections.
*
* @private internal type of `parsePipeline`
*/
export type ParsedPipelineSections = {
readonly pipelineHead: MarkdownSection;
readonly pipelineSections: ReadonlyArray<MarkdownSection>;
};
/**
* Splits the prepared markdown into the pipeline head and task sections.
*
* @private internal utility of `parsePipeline`
*/
export declare function parsePreparedPipelineSections(pipelineString: PipelineString, $pipelineJson: $PipelineJson): ParsedPipelineSections;