@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 427 B
TypeScript
/**
* Normalizes optional text argument to `string | null`.
*
* @private function of UseProjectCommitmentDefinition
*/
export declare function normalizeOptionalToolText(value: unknown): string | null;
/**
* Normalizes required text argument and throws when missing.
*
* @private function of UseProjectCommitmentDefinition
*/
export declare function normalizeRequiredToolText(value: unknown, fieldName: string): string;