import { Distribution } from "./distribution.js"; import { LogNum } from "./logNum.js"; export declare class LengthDistribution { readonly distribution: Distribution; private readonly distMod2; private readonly distMod3; /** Length such that 99.9% of answers have length less than this. */ private readonly maxLength; constructor(distribution: Distribution); static from(data: [number, number][]): LengthDistribution; /** Log probability that k words have the same length. */ probEqual(k: number): LogNum; /** Log probability that k words have the same length, except for one. */ probAlmostEqual(k: number): LogNum; /** Log probability that k words have the same length modulo 2. */ probEqualMod2(k: number): LogNum; /** Log probability that k words have the same length modulo 3. */ probEqualMod3(k: number): LogNum; /** Log probability that k words have consecutive lengths. */ probConsecutive(k: number): LogNum; /** Log probability that k words have exactly two distinct lengths. */ probTwoDistinct(k: number): LogNum; /** * Log probability that k words have distinct lengths, all at least min. */ probDistinct(k: number, min?: number): LogNum; /** Log probability that k words can be paired by length. */ probPaired(k: number): LogNum; } //# sourceMappingURL=lengthDistribution.d.ts.map