@promptbook/utils
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
17 lines (16 loc) • 593 B
TypeScript
import type { string_agent_url } from '../../../types/typeAliases';
import type { really_unknown } from '../../organization/really_unknown';
/**
* Tests if given string is valid agent URL
*
* Note: There are few similar functions:
* - `isValidUrl` which tests any URL
* - `isValidAgentUrl` *(this one)* which tests just agent URL
* - `isValidPipelineUrl` which tests just pipeline URL
*
* @public exported from `@promptbook/utils`
*/
export declare function isValidAgentUrl(url: really_unknown): url is string_agent_url;
/**
* TODO: [🐠] Maybe more info why the URL is invalid
*/