/** * Default MCP transport — sends tool calls via HTTP POST. */ import type { McpTransport } from './actions.js'; export interface McpTransportOptions { /** Base URL for the MCP endpoint. Defaults to window location origin. */ baseUrl?: string; /** Custom headers for MCP requests. */ headers?: Record; /** Custom fetch function (for testing). */ fetch?: typeof globalThis.fetch; } /** * Create an HTTP-based MCP transport. * * Sends tool calls as POST to `{baseUrl}/mcp/tools/call` with the * standard MCP JSON-RPC format. */ export declare function createHttpTransport(opts?: McpTransportOptions): McpTransport; /** No-op transport for standalone rendering without MCP. */ export declare function createNoopTransport(): McpTransport; //# sourceMappingURL=transport.d.ts.map