@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.
12 lines (11 loc) • 495 B
TypeScript
import { type SingleRegisterAdjunct } from "../../generate/adjunct/register.js";
/**
* Builds a register adjunct.
*
* @param word The word to be built.
* @returns Either a parsed `SingleRegisterAdjunct` 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
* register).
*/
export declare function buildRegisterAdjunct(word: string): SingleRegisterAdjunct | undefined;