@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
13 lines (12 loc) • 476 B
TypeScript
import type { string_markdown_text } from '../../types/typeAliases';
import type { Command } from './types/Command';
import type { CommandUsagePlace } from './types/CommandUsagePlaces';
/**
* Parses one line of ul/ol to command
*
* @returns parsed command object
* @throws {ParseError} if the command is invalid
*
* @public exported from `@promptbook/editable`
*/
export declare function parseCommand(raw: string_markdown_text, usagePlace: CommandUsagePlace): Command;