import { type MCPCallerIdentity, type MCPConfig, type MCPRequestMeta } from "./build-server.js"; export interface MCPFetchHandlerOptions { /** Identity established by the host's existing authentication policy. */ identity?: MCPCallerIdentity; /** Request metadata established by the host after authentication. */ requestMeta: MCPRequestMeta; /** Reuse a body already parsed by a framework adapter. */ parsedBody?: unknown; } /** Execute the framework's authenticated MCP server through a Fetch request. */ export declare function handleMcpFetchRequest(request: Request, config: MCPConfig, options: MCPFetchHandlerOptions): Promise;