/**
 * Local web search via SearXNG.
 * SearXNG instance expected at OWLCODA_SEARXNG_URL or http://localhost:8888
 */
export interface SearchResult {
    title: string;
    url: string;
    content: string;
    engine: string;
}
export interface SearchResponse {
    query: string;
    results: SearchResult[];
    number_of_results: number;
    duration: number;
}
export declare function webSearch(query: string, options?: {
    language?: string;
    limit?: number;
    categories?: string;
}): Promise<SearchResponse>;
/**
 * Check if SearXNG is reachable.
 */
export declare function checkSearXNG(): Promise<{
    available: boolean;
    url: string;
    error?: string;
}>;
