@promptbook/openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
11 lines (10 loc) • 442 B
TypeScript
import type { BookCommitment } from '../_base/BookCommitment';
import type { CommitmentDefinition } from '../_base/CommitmentDefinition';
/**
* Gets a commitment definition by its type
* @param type The commitment type to look up
* @returns The commitment definition or null if not found
*
* @public exported from `@promptbook/core`
*/
export declare function getCommitmentDefinition(type: BookCommitment): CommitmentDefinition | null;