import { AiEditorRuntime } from "./http.js"; import { IncomingMessage, ServerResponse } from "node:http"; //#region src/ai-editor/mcp.d.ts /** Resolve the caller's session or presenter authority before dispatching MCP requests. */ declare function createAiMcpMiddleware(runtime: AiEditorRuntime): ((req: IncomingMessage, res: ServerResponse, next: (error?: unknown) => void) => Promise) & { dispose: () => Promise; }; //#endregion export { createAiMcpMiddleware }; //# sourceMappingURL=mcp.d.ts.map