/**
 * Test-connection probe for the Tavily Search API.
 *
 * Makes a small real search call against
 *   POST https://api.tavily.com/search
 * with the configured key and a fixed probe query. Returns `ok: true`
 * on HTTP 200, `ok: false` on auth / network / other errors. This is the
 * same endpoint + request shape the runtime search tool uses
 * (see agent/tools/web-tools.ts), so a green probe means search will work.
 *
 * The probe never echoes the upstream error body — only a generic canned
 * phrase and the HTTP status code (no headers, no payload).
 *
 * `fetchImpl` is injectable so unit tests can exercise the status mapping
 * without contacting the real upstream (mirrors the Anthropic probe).
 */
import type { TestResult } from './anthropic.js';
export declare function probeTavily(apiKey: string, _ctx?: unknown, fetchImpl?: typeof fetch): Promise<TestResult>;
