/* Declarations for lib/conjugation.js — the module itself ships unchanged. */ /** Forms that do not fall out of the rules and are simply known. */ export const IRREGULAR_FORMS: Record; /** Dictionary form → 반말 present (해체). Returns null for non-verbs. */ export function haeche(dict: string): string | null; /** 반말 present → 반말 past. 먹어 → 먹었어. */ export function past(present: string | null): string | null; export function polite(present: string | null): string | null; export type IrregularClass = | "ㅡ" | "ㅂ" | "ㄷ" | "르" | "ㅅ" | "ㅎ" | "special" | "regular"; /** Which class a dictionary form belongs to — drives the "why" in feedback. */ export function irregularClass(dict: string): IrregularClass; /** Human explanation of the rule applied — shown when an answer is wrong. */ export function explain(dict: string): string; export interface SurfaceForm { form: string; gloss: string; note: string; } /** * Build-time: every surface form a learner will meet, mapped back to its lemma. * This is what replaces a runtime morphological analyser. */ export function surfaceForms(dict: string, gloss: string): SurfaceForm[];