/** * Shared utility functions */ /** * Count words in text (excluding markdown syntax) * @param text - Markdown text * @returns Word count */ export declare function countWords(text: string): number; /** * Normalize whitespace in text * @param text - Input text * @returns Normalized text */ export declare function normalizeWhitespace(text: string): string; /** * Escape XML special characters * @param str - Input string * @returns XML-safe string */ export declare function escapeXml(str: string): string; /** * Escape LaTeX special characters * @param text - Text to escape * @returns Escaped text */ export declare function escapeLatex(text: string): string; //# sourceMappingURL=utils.d.ts.map