UNPKG

@copilotkit/runtime

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

15 lines (14 loc) 618 B
import "reflect-metadata"; import { CreateCopilotRuntimeServerOptions } from "../shared.mjs"; import * as http from "http"; import "@whatwg-node/server"; //#region src/lib/integrations/nextjs/pages-router.d.ts declare const config: { api: { bodyParser: boolean; }; }; declare function copilotRuntimeNextJSPagesRouterEndpoint(options: CreateCopilotRuntimeServerOptions): (reqOrRequest: http.IncomingMessage | Request, res?: http.ServerResponse) => Promise<void> | Promise<Response> | Response; //#endregion export { config, copilotRuntimeNextJSPagesRouterEndpoint }; //# sourceMappingURL=pages-router.d.mts.map