import type { ApiFunctionsContext, ApiRoutesHandler, PageStaticData } from '@redocly/config';
import type { McpServerInstance, McpServerType } from '../types.js';
export type McpRequestHandlerDependencies = {
    createServerInstance: (context: ApiFunctionsContext, staticData: PageStaticData, headers: Record<string, string | string[] | undefined>, request: Request) => Promise<McpServerInstance>;
    serverType: McpServerType;
    connectionTimeoutMs?: number;
};
/**
 * Creates a standardized MCP request handler
 */
export declare function createMcpRequestHandler(dependencies: McpRequestHandlerDependencies): ApiRoutesHandler;
//# sourceMappingURL=mcp-request-handler.d.ts.map