@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.
38 lines (37 loc) • 1.11 kB
TypeScript
import { type Valence } from "../../generate/index.js";
/** An object containing all Valence segments. */
export declare const VALENCE: {
readonly MNO: string;
readonly PRL: string;
readonly CRO: string;
readonly RCP: string;
readonly CPL: string;
readonly DUP: string;
readonly DEM: string;
readonly CNG: string;
readonly PTI: string;
};
/** An object containing all handwritten Valence segments. */
export declare const HANDWRITTEN_VALENCE: {
readonly MNO: string;
readonly PRL: string;
readonly CRO: string;
readonly RCP: string;
readonly CPL: string;
readonly DUP: string;
readonly DEM: string;
readonly CNG: string;
readonly PTI: string;
};
/**
* Constructs a Valence segment.
*
* @param props Properties modifying this Valence segment.
* @returns The constructed `SVGPathElement`.
*/
export declare function ValenceSegment(props: {
/** Whether this segment is handwritten. */
readonly handwritten?: boolean | undefined;
/** The valence segment to construct. */
readonly valence: Valence;
}): SVGPathElement;