import type { GlyphInfo } from "../../types.ts"; /** * Check if codepoint is a Hangul syllable */ export declare function isHangulSyllable(cp: number): boolean; /** * Check if codepoint is a Hangul Jamo (conjoining) */ export declare function isHangulJamo(cp: number): boolean; /** * Check if codepoint is a leading consonant (L) */ export declare function isJamoL(cp: number): boolean; /** * Check if codepoint is a vowel (V) */ export declare function isJamoV(cp: number): boolean; /** * Check if codepoint is a trailing consonant (T) */ export declare function isJamoT(cp: number): boolean; /** * Decompose a precomposed Hangul syllable into Jamo */ export declare function decomposeHangul(cp: number): number[]; /** * Compose Jamo into a precomposed Hangul syllable */ export declare function composeHangul(l: number, v: number, t?: number): number | null; /** * Hangul syllable types */ export declare enum HangulSyllableType { NotApplicable = 0, LeadingJamo = 1,// L VowelJamo = 2,// V TrailingJamo = 3,// T LVSyllable = 4,// LV (no trailing) LVTSyllable = 5 } /** * Get the syllable type of a codepoint */ export declare function getHangulSyllableType(cp: number): HangulSyllableType; /** * Feature masks for Hangul */ export declare const HangulFeatureMask: { readonly ljmo: 1; readonly vjmo: 2; readonly tjmo: 4; }; /** * Setup Hangul masks for feature application */ export declare function setupHangulMasks(infos: GlyphInfo[]): void; /** * Normalize Hangul - compose Jamo sequences into syllables where possible */ export declare function normalizeHangul(infos: GlyphInfo[]): GlyphInfo[]; /** * Check if codepoint is Korean (Hangul or Jamo) */ export declare function isKorean(cp: number): boolean;