/**
 * Current-code invariants asserted (2026-04-21, ses_006 Phase 4):
 *
 *   - `createRAGTool(config)` returns a `defineTool`-wrapped
 *     `knowledge_search` tool with `category: 'analysis'`,
 *     `permissions: ['network_access']`, read-only.
 *   - Knowledge base selection:
 *     - If `input.knowledge_base_id` is set, looks up by it.
 *     - Else uses `config.defaultKnowledgeBaseId`.
 *     - Else picks the first value from
 *       `config.knowledgeBases.values().next()`.
 *   - Returns `{success: false, error: ...}` if no knowledge base is
 *     resolved.
 *   - When the query returns no chunks, returns the literal
 *     "No relevant information found..." message.
 *   - When chunks exist, assembles them via `assembleRAGContext` and
 *     returns `{success: true, output: content, data: {sources, mode, durationMs}}`.
 *   - `top_k` override precedence: input > config.topK > 5.
 */
export {};
//# sourceMappingURL=rag-tool.test.d.ts.map