export interface DocEntry { topic: string; title: string; content: string; keywords: string[]; relatedTools: string[]; } export declare const DOC_INDEX: DocEntry[]; export declare function searchDocsIndex(query: string, topicFilter?: string): DocEntry[]; /** * F-R4-10: extract paragraph-sized snippets from a topic body that * contain any of the query terms. Returns up to `maxSnippets` snippets * per topic so a single keyword search doesn't dump entire ~5 KB topics * into the agent's context window. * * Splits on blank lines (`\n\n+`), filters paragraphs that include at * least one query term (case-insensitive substring), and caps each * snippet to `maxSnippetChars`. Stable ordering by paragraph position * within the topic — preserves the doc's authored flow. */ export declare function extractSnippets(content: string, query: string, maxSnippets?: number, maxSnippetChars?: number): string[]; //# sourceMappingURL=index.d.ts.map