@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.
13 lines (12 loc) • 544 B
TypeScript
import type { SuppletiveAdjunct } from "../../generate/adjunct/suppletive/index.js";
/**
* Builds a suppletive adjunct.
*
* @param word The word to be built.
* @param stress The stress of the adjunct.
* @returns Either a parsed `SuppletiveAdjunct` 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 Vh slot,
* etc.).
*/
export declare function buildSuppletiveAdjunct(word: string): SuppletiveAdjunct | undefined;