UNPKG

@copilotkit/runtime

Version:

<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>

34 lines (29 loc) 1.56 kB
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-9347bd66.js'; export { i as CommonConfig, d as CopilotRequestContextProperties, b as addCustomHeaderPlugin, h as buildSchema, g as createContext, j as getCommonConfig } from '../../copilot-runtime-9347bd66.js'; import * as graphql_yoga from 'graphql-yoga'; import { YogaServerInstance } from 'graphql-yoga'; export { copilotRuntimeNodeHttpEndpoint } from './node-http/index.js'; export { copilotRuntimeNodeExpressEndpoint } from './node-express/index.js'; export { copilotRuntimeNestEndpoint } from './nest/index.js'; import '@copilotkit/shared'; import '../../langserve-6f7af8d3.js'; import '../../index-5bec5424.js'; import '../../graphql/types/base/index.js'; import 'rxjs'; import 'graphql'; import 'pino'; import '../cloud/index.js'; declare function copilotRuntimeNextJSAppRouterEndpoint(options: CreateCopilotRuntimeServerOptions): { handleRequest: graphql_yoga.YogaServerInstance<{}, Partial<GraphQLContext>>; GET: any; POST: any; OPTIONS: any; }; declare const config: { api: { bodyParser: boolean; }; }; type CopilotRuntimeServerInstance<T> = YogaServerInstance<T, Partial<GraphQLContext>>; declare function copilotRuntimeNextJSPagesRouterEndpoint(options: CreateCopilotRuntimeServerOptions): CopilotRuntimeServerInstance<GraphQLContext>; export { CopilotRuntimeServerInstance, CreateCopilotRuntimeServerOptions, GraphQLContext, config, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint };