/** * Word and character counts of the text a reader sees, for the status bar. * * Markers are removed first (heading hashes, list bullets, emphasis, link * destinations, table pipes, fences), so `**bold**` counts one word. Han, * kana and Hangul count one word per character, as Chinese and Japanese * counters do; everything else counts runs of letters and digits. */ export interface MarkdownStats { words: number; /** Characters other than whitespace. */ characters: number; } export declare function readableMarkdownText(doc: string): string; export declare function markdownStats(doc: string): MarkdownStats;