/**
 * Search Result Highlighting Utilities
 *
 * Provides utilities for highlighting search matches in text
 * Used by the Search Integration system.
 */
/**
 * Highlights search terms in text by wrapping matches with HTML marks
 */
export declare function highlightSearchMatches(text: string, searchQuery: string): string;
/**
 * Highlights multiple search terms in text
 */
export declare function highlightMultipleTerms(text: string, searchTerms: string[]): string;
/**
 * Extracts highlighted snippet from text around search matches
 */
export declare function getSearchSnippet(text: string, searchQuery: string, maxLength?: number): string;
/**
 * React component props for highlighted text
 */
export interface HighlightedTextProps {
    text: string;
    searchQuery: string;
    className?: string;
}
/**
 * Escapes HTML in text before highlighting
 */
export declare function highlightSearchMatchesSafe(text: string, searchQuery: string): string;
/**
 * Gets match count for a search query in text
 */
export declare function getMatchCount(text: string, searchQuery: string): number;
/**
 * Calculates relevance score for search results
 */
export declare function calculateRelevanceScore(title: string, description: string | undefined, searchQuery: string): number;
/**
 * Formats search result for display
 */
export declare function formatSearchResult(title: string, description: string | undefined, searchQuery: string, maxDescLength?: number): {
    highlightedTitle: string;
    highlightedDescription: string | undefined;
    snippet: string | undefined;
};
//# sourceMappingURL=search-highlighting.d.ts.map