import type { AffixForm } from "./forms"; import { LKFlags } from "./lk-flags"; import type { LKWord } from "./lk-word"; /** * Yields the allowed {@link AffixForm}s for this word, as in all ways the * word can be split into stems and affixes, with all stems and affixes * being mutually compatible. */ export declare function affixForms(word: LKWord, allowNoSuggest?: boolean, withForbidden?: boolean, flags?: LKFlags): Generator; /** * Determines if this form is valid for the {@link LKWord} specified. * * @param word - The word to validate against. * @param allowNoSuggest - If false, words which are in the dictionary, but * are flagged with the `NOSUGGEST` flag (if provided), will not be * considered correct. Defaults to true. */ export declare function validForm(form: AffixForm, word: LKWord, allowNoSuggest?: boolean): boolean;