UNPKG

@promptbook/remote-server

Version:

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

15 lines (14 loc) 599 B
import type { string_name } from '../../types/string_name'; import type { MarkdownSection } from '../../utils/markdown/parseMarkdownSection'; /** * Resolves a unique task name for one parsed markdown section title. * * @private internal type of `parsePipeline` */ export type UniqueSectionNameResolver = (title: string) => string_name; /** * Creates stable unique task names for duplicate section titles. * * @private internal utility of `parsePipeline` */ export declare function createUniqueSectionNameResolver(pipelineSections: ReadonlyArray<MarkdownSection>): UniqueSectionNameResolver;