@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
13 lines (12 loc) • 554 B
TypeScript
import type { string_semantic_version } from '../../../types/typeAliases';
import type { really_unknown } from '../../organization/really_unknown';
/**
* Tests if given string is valid semantic version
*
* Note: There are two similar functions:
* - `isValidSemanticVersion` which tests any semantic version
* - `isValidPromptbookVersion` *(this one)* which tests just Promptbook versions
*
* @public exported from `@promptbook/utils`
*/
export declare function isValidSemanticVersion(version: really_unknown): version is string_semantic_version;