/** * Plain-prose text statistics feeding the readability formulas in * `formulas.ts`. This module is pure -- no rules/, core/runner, or config/ * imports, and no markdown parsing: callers (e.g. the `metric` assertion) * extract a plain prose string out of markdown first. */ export interface TextStatistics { words: number; sentences: number; syllables: number; /** Letters + digits only -- excludes punctuation and whitespace. Used by the automated-readability and coleman-liau formulas. */ characters: number; /** * Words with 3+ syllables per the `countSyllables` heuristic below (no * proper-noun or suffix carve-outs). */ complexWords: number; } export declare function tokenizeWords(prose: string): string[]; /** * Computes word/sentence/syllable/character/complex-word statistics for a * plain prose string. `sentences` is delegated to `scopes/sentences.ts`'s * `splitSentences` so the whole codebase shares one sentence-boundary * definition. */ export declare function computeTextStatistics(prose: string): TextStatistics; //# sourceMappingURL=statistics.d.ts.map