UNPKG

@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.

29 lines (28 loc) 1.06 kB
/** The type of a suppletive adjunct. */ export type SuppletiveAdjunctType = "CAR" | "QUO" | "NAM" | "PHR"; /** An array containing all suppletive adjunct types. */ export declare const ALL_SUPPLETIVE_ADJUNCT_TYPES: readonly SuppletiveAdjunctType[]; /** * An object mapping from suppletive adjunct types to their Ithkuilic * translations. */ export declare const SUPPLETIVE_ADJUNCT_TYPE_TO_ITHKUIL_MAP: { readonly CAR: "hl"; readonly QUO: "hm"; readonly NAM: "hn"; readonly PHR: "hň"; }; /** An object mapping from suppletive adjunct types to their names. */ export declare const SUPPLETIVE_ADJUNCT_TYPE_TO_NAME_MAP: { readonly CAR: "Carrier"; readonly QUO: "Quotative"; readonly NAM: "Naming"; readonly PHR: "Phrasal"; }; /** * Converts a suppletive adjunct type into Ithkuil. * * @param type The suppletive adjunct type to be converted. * @returns Romanized Ithkuilic text representing the adjunct type. */ export declare function suppletiveAdjunctTypeToIthkuil(type: SuppletiveAdjunctType): "hl" | "hm" | "hn" | "hň";