import type { HighlightOptions } from '../types/common.js'; export declare function escapeHtml(value: string): string; export declare function unescapeHtml(value: string): string; export declare function compactWhitespace(value: string, preserveLineBreaks?: boolean): string; export declare function highlightKeyword(text: string, keyword: string, options?: HighlightOptions): string; export declare function analyzeText(value: string): { chineseCount: number; asciiCount: number; otherCount: number; length: number; }; //# sourceMappingURL=text.d.ts.map