@zsnout/ithkuil
Version:
A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.
11 lines (10 loc) • 464 B
TypeScript
import type { NumericAdjunct } from "../../generate/adjunct/numeric.js";
/**
* Builds a numeric adjunct.
*
* @param word The word to be built.
* @returns Either a parsed `NumericAdjunct` indicating a success, or
* `undefined` indicating a tokenization failure. Throws if the adjunct was
* successfully tokenized but had another error in it (e.g. invalid number).
*/
export declare function buildNumericAdjunct(word: string): NumericAdjunct | undefined;