UNPKG

@promptbook/utils

Version:

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

27 lines (26 loc) • 1.03 kB
import type { BookLanguageManualDictionary } from './BookLanguageManualDictionary'; import type { BookLanguageManualCommitmentGroup } from './getBookLanguageManualCommitmentGroups'; /** * Options for rendering one commitment section of the generated catalog. * * @private internal type of `createStandaloneBookLanguageMarkdown` */ export type RenderCommitmentCatalogSectionOptions = { /** * Grouped commitment definition with aliases. */ readonly groupedCommitment: BookLanguageManualCommitmentGroup; /** * Translated labels of the manual. */ readonly dictionary: BookLanguageManualDictionary; }; /** * Renders one commitment section in the generated catalog. * * @param options - Commitment group, usage statistics, and translated labels. * @returns Markdown section for a single commitment. * * @private internal utility of `createStandaloneBookLanguageMarkdown` */ export declare function renderCommitmentCatalogSection(options: RenderCommitmentCatalogSectionOptions): string;