/** * OpenKernel — Search Plugin * * Default stack: SearXNG → Crawler (Crawl4AI-style fetch) → Markdown → LLM. * Provides a shared SearchController that the research worker handler uses. * * If no SearXNG URL is configured, the controller falls back to a * DuckDuckGo HTML scrape so the research worker remains functional. */ import type { Plugin } from '../types.js'; import { SearchController } from '../search/search-controller.js'; import type { SearchOptions } from '../search/search-controller.js'; export interface SearchPluginOptions extends SearchOptions { } export declare function createSearchPlugin(options?: SearchPluginOptions): Plugin; export { SearchController }; export type { SearchOptions, SearchResult } from '../search/search-controller.js';