UNPKG

@promptbook/vercel

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

12 lines (11 loc) 415 B
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>;