import { ScoredChunk } from '../search/keyword-search.js'; import { SearchResponse } from '../types/search.js'; export declare class SearchResultFormatter { private readonly MAX_SNIPPET_WORDS; /** * Format search results for MCP response */ formatResults(chunks: ScoredChunk[], query: string, executionTime: number, integrationPhase?: string): SearchResponse; /** * Format a single chunk into a search result */ private formatChunk; /** * Create snippet with word limit and ellipsis */ private createSnippet; /** * Find the last sentence boundary (. ! ?) in text */ private findLastSentenceBoundary; /** * Highlight matched keywords in snippet (optional enhancement) */ highlightKeywords(snippet: string, keywords: string[]): string; private escapeRegex; } //# sourceMappingURL=search-result-formatter.d.ts.map