import type { FetchLike } from "@modelcontextprotocol/sdk/shared/transport.js"; import type { McpServerClientFactory } from "./types"; export declare const DEFAULT_MCP_CONNECT_TIMEOUT_MS = 3000; export interface DefaultMcpServerClientFactoryOptions { settingsPath?: string; clientName?: string; clientVersion?: string; fetch?: FetchLike; } export interface ProbeMcpServerConnectionOptions extends Omit { serverName: string; filePath?: string; } export interface ProbeMcpServerConnectionResult { serverName: string; connected: boolean; authorizationRequired: boolean; error?: string; } export declare function createDefaultMcpServerClientFactory(options?: DefaultMcpServerClientFactoryOptions): McpServerClientFactory; /** * Passively verifies a configured remote MCP endpoint. This may use or refresh * existing credentials, but it never starts an interactive OAuth redirect. */ export declare function probeMcpServerConnection(options: ProbeMcpServerConnectionOptions): Promise;