@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.
14 lines (13 loc) • 560 B
TypeScript
/** The stress type marked by Slot X. */
export type SlotX = "UNF/C" | "UNF/K" | "FRM";
/** A Zod validator matching Slot X stresses. */
export declare const ALL_SLOT_X_STRESSES: readonly SlotX[];
/**
* Applies Slot X stress to an Ithkuilic word.
*
* @param word The word to apply stress to.
* @param stress The stress type to apply.
* @returns Romanized Ithkuilic text representing the full formative, including
* the stress, marked with an accent mark or circumflex.
*/
export declare function applySlotXStress(word: string, stress: SlotX): string;