@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.
23 lines (22 loc) • 1.34 kB
TypeScript
import { type BiasAdjunct } from "../../generate/index.js";
/** The extensions bias adjunct take. */
export declare const BIAS_EXTENSIONS: readonly ("d" | "f" | "g" | "k" | "l" | "p" | "ř" | "s" | "š" | "t" | "ţ" | "x" | "z" | "CORE_GEMINATE" | "EXTENSION_GEMINATE" | undefined)[];
/** Information about a bias character. */
export interface BiasCharacter {
/** Whether this character is handwritten. */
readonly handwritten?: boolean | undefined;
/** The bias to be shown. */
readonly bias: BiasAdjunct;
}
/**
* This is required because MNF bias is treated as its old name, EXP in the
* script.
*/
export declare const ALL_BIAS_ADJUNCTS_BY_SCRIPT_INDEX: readonly ["ACC", "ACH", "ADS", "ANN", "ANP", "APB", "APH", "ARB", "ATE", "CMD", "CNV", "COI", "CRP", "CRR", "CTP", "CTV", "DCC", "DEJ", "DES", "DFD", "DIS", "DLC", "DOL", "DPB", "DRS", "DUB", "EUH", "EUP", "EXA", "EXG", "MNF", "FOR", "FSC", "GRT", "IDG", "IFT", "IPL", "IPT", "IRO", "ISP", "IVD", "MAN", "OPT", "PES", "PPT", "PPX", "PPV", "PSC", "PSM", "RAC", "RFL", "RSG", "RPU", "RVL", "SAT", "SGS", "SKP", "SOL", "STU", "TRP", "VEX"];
/**
* Creates a bias character as a group of SVG paths.
*
* @param props Information about the bias character.
* @returns The constructed bias character.
*/
export declare function Bias(props: BiasCharacter): SVGGElement;