@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) • 563 B
TypeScript
import type { PartialReferential } from "../../generate/referential/referential.js";
import type { Stress } from "../transform.js";
/**
* Builds a single or dual referential.
*
* @param word The word to be built.
* @returns Either a parsed `PartialReferential` 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 Vc).
*/
export declare function buildSingleOrDualReferential(word: string, stress: Stress): PartialReferential | undefined;