
import { CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotServiceAdapter } from "./service-adapters/service-adapter.mjs";
import { OpenAIAdapter, OpenAIAdapterParams } from "./service-adapters/openai/openai-adapter.mjs";
import { LangChainAdapter } from "./service-adapters/langchain/langchain-adapter.mjs";
import { GoogleGenerativeAIAdapter } from "./service-adapters/google/google-genai-adapter.mjs";
import { OpenAIAssistantAdapter, OpenAIAssistantAdapterParams } from "./service-adapters/openai/openai-assistant-adapter.mjs";
import { UnifyAdapter, UnifyAdapterParams } from "./service-adapters/unify/unify-adapter.mjs";
import { convertServiceAdapterError } from "./service-adapters/shared/error-utils.mjs";
import { SdkClientLike, getSdkClientOptions } from "./service-adapters/shared/sdk-client-utils.mjs";
import { GroqAdapter, GroqAdapterParams } from "./service-adapters/groq/groq-adapter.mjs";
import { RemoteChain, RemoteChainParameters } from "./service-adapters/langchain/langserve.mjs";
import { AnthropicAdapter, AnthropicAdapterParams, AnthropicPromptCachingConfig } from "./service-adapters/anthropic/anthropic-adapter.mjs";
import { ExperimentalOllamaAdapter } from "./service-adapters/experimental/ollama/ollama-adapter.mjs";
import { BedrockAdapter, BedrockAdapterParams } from "./service-adapters/bedrock/bedrock-adapter.mjs";
import { EmptyAdapter, ExperimentalEmptyAdapter } from "./service-adapters/empty/empty-adapter.mjs";
import "./service-adapters/index.mjs";
import { CopilotRuntimeLogger, LogLevel, createLogger } from "./lib/logger.mjs";
import { AgentFactoryContext, AgentsConfig, AgentsFactory } from "./v2/runtime/core/runtime.mjs";
import { MCPClient, MCPEndpointConfig, MCPTool, convertMCPToolsToActions, extractParametersFromSchema, generateMcpToolInstructions } from "./lib/runtime/mcp-tools-utils.mjs";
import { CopilotRuntime, CopilotRuntimeConstructorParams_BASE, copilotKitEndpoint, langGraphPlatformEndpoint, resolveEndpointType } from "./lib/runtime/copilot-runtime.mjs";
import { CommonConfig, CopilotEndpointCorsConfig, CopilotRequestContextProperties, CreateCopilotRuntimeServerOptions, GraphQLContext, GraphQLRequestContext, buildSchema, getCommonConfig } from "./lib/integrations/shared.mjs";
import { copilotRuntimeNextJSAppRouterEndpoint } from "./lib/integrations/nextjs/app-router.mjs";
import { config, copilotRuntimeNextJSPagesRouterEndpoint } from "./lib/integrations/nextjs/pages-router.mjs";
import { copilotRuntimeNodeHttpEndpoint } from "./lib/integrations/node-http/index.mjs";
import { copilotRuntimeNodeExpressEndpoint } from "./lib/integrations/node-express/index.mjs";
import { copilotRuntimeNestEndpoint } from "./lib/integrations/nest/index.mjs";
import { TelemetryAgentRunner, TelemetryAgentRunnerConfig } from "./lib/runtime/telemetry-agent-runner.mjs";
import { CustomEventNames, LangGraphAgent, LangGraphHttpAgent, PredictStateTool, TextMessageEvents, ToolCallEvents } from "./lib/index.mjs";
import { GuardrailsValidationFailureResponse, MessageStreamInterruptedResponse, UnknownErrorResponse } from "./utils/failed-response-status-reasons.mjs";
export { /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * Use `AgentFactoryContext` from `@copilotkit/runtime/v2` instead.
 * Import and usage example:
 * ```ts
 * import type { AgentFactoryContext } from "@copilotkit/runtime/v2";
 * type V2AgentFactoryContext = AgentFactoryContext;
 * ```
 * See https://docs.copilotkit.ai/runtime-server-adapter
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type AgentFactoryContext, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * Use `AgentsConfig` from `@copilotkit/runtime/v2` instead.
 * Import and usage example:
 * ```ts
 * import type { AgentsConfig } from "@copilotkit/runtime/v2";
 * type V2AgentsConfig = AgentsConfig;
 * ```
 * See https://docs.copilotkit.ai/runtime-server-adapter
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type AgentsConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * Use `AgentsFactory` from `@copilotkit/runtime/v2` instead.
 * Import and usage example:
 * ```ts
 * import type { AgentsFactory } from "@copilotkit/runtime/v2";
 * type V2AgentsFactory = AgentsFactory;
 * ```
 * See https://docs.copilotkit.ai/runtime-server-adapter
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type AgentsFactory, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
AnthropicAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type AnthropicAdapterParams, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type AnthropicPromptCachingConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
BedrockAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type BedrockAdapterParams, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CommonConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * Use `CopilotEndpointCorsConfig` from `@copilotkit/runtime/v2` instead.
 * Import and usage example:
 * ```ts
 * import type { CopilotEndpointCorsConfig } from "@copilotkit/runtime/v2";
 * type V2CopilotEndpointCorsConfig = CopilotEndpointCorsConfig;
 * ```
 * See https://docs.copilotkit.ai/runtime-server-adapter
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotEndpointCorsConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotRequestContextProperties, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * Use `CopilotRuntime` from `@copilotkit/runtime/v2` instead.
 * Import and usage example:
 * ```ts
 * import { CopilotRuntime } from "@copilotkit/runtime/v2";
 * const runtime = new CopilotRuntime({ agents: {} });
 * ```
 * See https://docs.copilotkit.ai/runtime-server-adapter
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
CopilotRuntime, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotRuntimeChatCompletionRequest, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotRuntimeChatCompletionResponse, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotRuntimeConstructorParams_BASE, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotRuntimeLogger, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CopilotServiceAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CreateCopilotRuntimeServerOptions, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type CustomEventNames, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
EmptyAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
ExperimentalEmptyAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
ExperimentalOllamaAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
GoogleGenerativeAIAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type GraphQLContext, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
GraphQLRequestContext, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
GroqAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type GroqAdapterParams, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
GuardrailsValidationFailureResponse, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
LangChainAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
LangGraphAgent, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
LangGraphHttpAgent, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type LogLevel, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * Use `MCPClient` from `@copilotkit/runtime/v2` instead.
 * Import and usage example:
 * ```ts
 * import type { MCPClient } from "@copilotkit/runtime/v2";
 * type V2MCPClient = MCPClient;
 * ```
 * See https://docs.copilotkit.ai/runtime-server-adapter
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type MCPClient, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Model Context Protocol): https://docs.copilotkit.ai/agentic-protocols/mcp
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type MCPEndpointConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Model Context Protocol): https://docs.copilotkit.ai/agentic-protocols/mcp
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type MCPTool, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
MessageStreamInterruptedResponse, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
OpenAIAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type OpenAIAdapterParams, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
OpenAIAssistantAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type OpenAIAssistantAdapterParams, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type PredictStateTool, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
RemoteChain, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type RemoteChainParameters, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
SdkClientLike, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
TelemetryAgentRunner, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type TelemetryAgentRunnerConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type TextMessageEvents, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type ToolCallEvents, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
UnifyAdapter, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
type UnifyAdapterParams, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
UnknownErrorResponse, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
buildSchema, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
config, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Model Context Protocol): https://docs.copilotkit.ai/agentic-protocols/mcp
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
convertMCPToolsToActions, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
convertServiceAdapterError, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
copilotKitEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
copilotRuntimeNestEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
copilotRuntimeNextJSAppRouterEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
copilotRuntimeNextJSPagesRouterEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
copilotRuntimeNodeExpressEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
copilotRuntimeNodeHttpEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
createLogger, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Model Context Protocol): https://docs.copilotkit.ai/agentic-protocols/mcp
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
extractParametersFromSchema, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Model Context Protocol): https://docs.copilotkit.ai/agentic-protocols/mcp
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
generateMcpToolInstructions, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
getCommonConfig, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
getSdkClientOptions, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
langGraphPlatformEndpoint, /**
 * @deprecated Since 1.68.2. The v1 SDK is deprecated. Use v2 instead.
 * No 1:1 v2 replacement is available.
 * Related v2 docs (Runtime server adapter): https://docs.copilotkit.ai/runtime-server-adapter
 * Start with `@copilotkit/runtime/v2`.
 * V2 docs: https://docs.copilotkit.ai/
 * V2 reference docs: https://docs.copilotkit.ai/reference/v2
 * Migration guide: https://docs.copilotkit.ai/migrate/v2
 */
resolveEndpointType };