/** * Markdown renderer for /search and `codebase_semantic_search` results. * * Produces a single document with: * - a "# Search: ..." title and one-line summary * - per-hit code fence (language hint from the chunker) followed by a * metadata caption line * - '---' separators between hits * * The caption uses plain text (no backticks) per design call — keeps the * line visually subordinate to the code fence above it. * * Shared between the HTTP server (src/search-server.ts) and the MCP server * (src/mcp-server.ts) so both renderers stay in lockstep. */ export interface MarkdownHit { id: number; filePath: string; symbolName: string | null; score: number; startLine: number; endLine: number; content: string; language?: string; chunkType?: string; module?: string; } export interface MarkdownArgs { query: string; count: number; topK: number; minScore?: number; minScoreDiff?: number; includedFields?: string[]; /** describeIgnore()'s line, when patterns were ignored. */ ignored?: string; clipStoreSize: number; hits: MarkdownHit[]; } export declare function renderSearchMarkdown(args: MarkdownArgs): string;