import { Distribution } from "./distribution.js"; import { LogNum } from "./logNum.js"; declare class BaseAffixDistribution { /** Map from affix length to distribution of affixes of that length. */ private readonly dist; constructor(affix: "prefix" | "suffix", wordlist: string[]); /** Distribution of affixes of a given length. */ get(length: number): Distribution; /** Vowel distribution for affixes of a given length. */ private vowelDist; /** * Probability that k affixes of a given length start with the same vowel * pattern. */ probEqualVowelPattern(k: number, length: number): LogNum; } /** Info about the prefix distribution of a wordlist. */ export declare class PrefixDistribution extends BaseAffixDistribution { constructor(wordlist: string[]); } /** Info about the suffix distribution of a wordlist. */ export declare class SuffixDistribution extends BaseAffixDistribution { constructor(wordlist: string[]); } export {}; //# sourceMappingURL=affixDistribution.d.ts.map