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.

38 lines (37 loc) 1.77 kB
import { WithWYAlternative } from "./with-wy-alternative.js"; /** * Inserts a glottal stop into a vowel form. * * @param vowelForm The vowel form to insert a glottal stop into. * @param isAtEndOfWord Whether the finished vowel form will be at the end of a * word. * @returns The vowel form with a glottal stop inserted. */ export declare function insertGlottalStop(vowelForm: string, isAtEndOfWord: boolean): string; /** * Inserts a glottal stop into a vowel form (which may be a WithWYAlternative). * * @param vowelForm The vowel form to insert a glottal stop into. * @param isAtEndOfWord Whether the finished vowel form will be at the end of a * word. * @returns The vowel form with a glottal stop inserted. */ export declare function insertGlottalStopIntoPossiblyWithWYAlternative(vowelForm: string, isAtEndOfWord: boolean): string; /** * Inserts a glottal stop into a vowel form (which may be a WithWYAlternative). * * @param vowelForm The vowel form to insert a glottal stop into. * @param isAtEndOfWord Whether the finished vowel form will be at the end of a * word. * @returns The vowel form with a glottal stop inserted. */ export declare function insertGlottalStopIntoPossiblyWithWYAlternative(vowelForm: WithWYAlternative, isAtEndOfWord: boolean): WithWYAlternative; /** * Inserts a glottal stop into a vowel form (which may be a WithWYAlternative). * * @param vowelForm The vowel form to insert a glottal stop into. * @param isAtEndOfWord Whether the finished vowel form will be at the end of a * word. * @returns The vowel form with a glottal stop inserted. */ export declare function insertGlottalStopIntoPossiblyWithWYAlternative(vowelForm: string | WithWYAlternative, isAtEndOfWord: boolean): string | WithWYAlternative;