@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
12 lines (11 loc) • 415 B
TypeScript
import type { Command } from './types/Command';
import type { CommandParser } from './types/CommandParser';
/**
* Gets the parser for the command
*
* @returns the parser for the command
* @throws {UnexpectedError} if the parser is not found
*
* @public exported from `@promptbook/editable`
*/
export declare function getParserForCommand<TCommand extends Command>(command: TCommand): CommandParser<TCommand>;