@promptbook/langtail
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
13 lines (12 loc) • 472 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
*
* @private within the pipelineStringToJson
*/
export declare function parseCommand(raw: string_markdown_text, usagePlace: CommandUsagePlace): Command;