@copilotkit/react-core 2.0.0-rc.65 → 2.0.0-rc.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1061,7 +1061,7 @@ declare function CopilotModalHeader({
1061
1061
  children,
1062
1062
  className,
1063
1063
  ...rest
1064
- }: CopilotModalHeaderProps): string | number | bigint | boolean | react_jsx_runtime0.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
1064
+ }: CopilotModalHeaderProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null | undefined;
1065
1065
  declare namespace CopilotModalHeader {
1066
1066
  var displayName: string;
1067
1067
  }
@@ -2932,162 +2932,162 @@ declare const SandboxFunctionsContext: react.Context<readonly SandboxFunction[]>
2932
2932
  declare function useSandboxFunctions(): readonly SandboxFunction[];
2933
2933
  //#endregion
2934
2934
  //#region src/removed-exports.d.ts
2935
- /** @deprecated "A2UIActionInterceptor" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2935
+ /** @deprecated "A2UIActionInterceptor" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2936
2936
  type A2UIActionInterceptor = RemovedType<"A2UIActionInterceptor", "The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui.", "/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2937
- /** @deprecated "A2UIMessageRendererOptions" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2937
+ /** @deprecated "A2UIMessageRendererOptions" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2938
2938
  type A2UIMessageRendererOptions = RemovedType<"A2UIMessageRendererOptions", "The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui.", "/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2939
- /** @deprecated "A2UIRecoveryRendererOptions" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2939
+ /** @deprecated "A2UIRecoveryRendererOptions" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2940
2940
  type A2UIRecoveryRendererOptions = RemovedType<"A2UIRecoveryRendererOptions", "The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui.", "/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2941
- /** @deprecated "A2UITheme" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2941
+ /** @deprecated "A2UITheme" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2942
2942
  type A2UITheme = RemovedType<"A2UITheme", "The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui.", "/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2943
- /** @deprecated "A2UIUserAction" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2943
+ /** @deprecated "A2UIUserAction" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2944
2944
  type A2UIUserAction = RemovedType<"A2UIUserAction", "The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui.", "/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2945
- /** @deprecated "ActionRenderProps" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2945
+ /** @deprecated "ActionRenderProps" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2946
2946
  type ActionRenderProps<_T1 = unknown> = RemovedType<"ActionRenderProps", "TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema.", "/migrate/v2#hook-mapping">;
2947
- /** @deprecated "ActionRenderPropsNoArgs" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2947
+ /** @deprecated "ActionRenderPropsNoArgs" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2948
2948
  type ActionRenderPropsNoArgs<_T1 = unknown> = RemovedType<"ActionRenderPropsNoArgs", "TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema.", "/migrate/v2#hook-mapping">;
2949
- /** @deprecated "ActionRenderPropsNoArgsWait" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2949
+ /** @deprecated "ActionRenderPropsNoArgsWait" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2950
2950
  type ActionRenderPropsNoArgsWait<_T1 = unknown> = RemovedType<"ActionRenderPropsNoArgsWait", "TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema.", "/migrate/v2#hook-mapping">;
2951
- /** @deprecated "ActionRenderPropsWait" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2951
+ /** @deprecated "ActionRenderPropsWait" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2952
2952
  type ActionRenderPropsWait<_T1 = unknown> = RemovedType<"ActionRenderPropsWait", "TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema.", "/migrate/v2#hook-mapping">;
2953
- /** @deprecated "CatchAllActionRenderProps" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2953
+ /** @deprecated "CatchAllActionRenderProps" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2954
2954
  type CatchAllActionRenderProps<_T1 = unknown> = RemovedType<"CatchAllActionRenderProps", "TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema.", "/migrate/v2#hook-mapping">;
2955
- /** @deprecated "CatchAllActionRenderPropsWait" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2955
+ /** @deprecated "CatchAllActionRenderPropsWait" was removed in CopilotKit 2.0. TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2956
2956
  type CatchAllActionRenderPropsWait<_T1 = unknown> = RemovedType<"CatchAllActionRenderPropsWait", "TypeScript infers the render props of useFrontendTool, useHumanInTheLoop, and useRenderTool from @copilotkit/react-core from their parameters schema.", "/migrate/v2#hook-mapping">;
2957
- /** @deprecated "CatchAllFrontendAction" was removed in CopilotKit 2.0. Register a renderer for every tool with useRenderTool({ name: "*", render }) from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2957
+ /** @deprecated "CatchAllFrontendAction" was removed in CopilotKit 2.0. Register a renderer for every tool with useRenderTool({ name: "*", render }) from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2958
2958
  type CatchAllFrontendAction = RemovedType<"CatchAllFrontendAction", 'Register a renderer for every tool with useRenderTool({ name: "*", render }) from @copilotkit/react-core.', "/migrate/v2#hook-mapping">;
2959
- /** @deprecated "ChatSuggestions" was removed in CopilotKit 2.0. Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2959
+ /** @deprecated "ChatSuggestions" was removed in CopilotKit 2.0. Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2960
2960
  type ChatSuggestions = RemovedType<"ChatSuggestions", "Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions.", "/migrate/v2#hook-mapping">;
2961
- /** @deprecated "CoagentInChatRenderFunction" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2961
+ /** @deprecated "CoagentInChatRenderFunction" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2962
2962
  type CoagentInChatRenderFunction = RemovedType<"CoagentInChatRenderFunction", "Use useAgent from @copilotkit/react-core, and render agent.state in your component.", "/migrate/v2#hook-mapping">;
2963
- /** @deprecated "CoAgentStateRendersContextValue" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2963
+ /** @deprecated "CoAgentStateRendersContextValue" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2964
2964
  type CoAgentStateRendersContextValue = RemovedType<"CoAgentStateRendersContextValue", "Use useAgent from @copilotkit/react-core, and render agent.state in your component.", "/migrate/v2#hook-mapping">;
2965
- /** @deprecated "CoAgentStateRendersProvider" was removed in CopilotKit 2.0. Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2966
- declare const CoAgentStateRendersProvider: _copilotkit_shared0.RemovedApi<"\"CoAgentStateRendersProvider\" was removed in CopilotKit 2.0. Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
2967
- /** @deprecated "CopilotApiConfig" was removed in CopilotKit 2.0. Pass runtimeUrl and headers to CopilotKitProvider from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-provider-and-hook-imports */
2965
+ /** @deprecated "CoAgentStateRendersProvider" was removed in CopilotKit 2.0. Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2966
+ declare const CoAgentStateRendersProvider: _copilotkit_shared0.RemovedApi<"\"CoAgentStateRendersProvider\" was removed in CopilotKit 2.0. Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
2967
+ /** @deprecated "CopilotApiConfig" was removed in CopilotKit 2.0. Pass runtimeUrl and headers to CopilotKitProvider from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-provider-and-hook-imports */
2968
2968
  type CopilotApiConfig = RemovedType<"CopilotApiConfig", "Pass runtimeUrl and headers to CopilotKitProvider from @copilotkit/react-core.", "/migrate/v2#update-the-provider-and-hook-imports">;
2969
- /** @deprecated "CopilotChatSuggestionConfiguration" was removed in CopilotKit 2.0. Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2969
+ /** @deprecated "CopilotChatSuggestionConfiguration" was removed in CopilotKit 2.0. Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2970
2970
  type CopilotChatSuggestionConfiguration = RemovedType<"CopilotChatSuggestionConfiguration", "Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions.", "/migrate/v2#hook-mapping">;
2971
- /** @deprecated "CopilotContextParams" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2971
+ /** @deprecated "CopilotContextParams" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2972
2972
  type CopilotContextParams = RemovedType<"CopilotContextParams", "Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core.", "/programmatic-control#sending-a-message-from-code">;
2973
- /** @deprecated "CopilotMessagesContextParams" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2973
+ /** @deprecated "CopilotMessagesContextParams" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2974
2974
  type CopilotMessagesContextParams = RemovedType<"CopilotMessagesContextParams", "Read agent.messages from useAgent from @copilotkit/react-core.", "/migrate/v2#hook-mapping">;
2975
- /** @deprecated "CopilotTask" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2976
- declare const CopilotTask: _copilotkit_shared0.RemovedApi<"\"CopilotTask\" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code">;
2977
- /** @deprecated "CopilotTask" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2975
+ /** @deprecated "CopilotTask" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2976
+ declare const CopilotTask: _copilotkit_shared0.RemovedApi<"\"CopilotTask\" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code">;
2977
+ /** @deprecated "CopilotTask" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2978
2978
  type CopilotTask<_T1 = unknown> = typeof CopilotTask;
2979
- /** @deprecated "CopilotTaskConfig" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2979
+ /** @deprecated "CopilotTaskConfig" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
2980
2980
  type CopilotTaskConfig = RemovedType<"CopilotTaskConfig", "Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core.", "/programmatic-control#sending-a-message-from-code">;
2981
- /** @deprecated "createA2UIMessageRenderer" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2982
- declare const createA2UIMessageRenderer: _copilotkit_shared0.RemovedApi<"\"createA2UIMessageRenderer\" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2983
- /** @deprecated "CrewsAgentState" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2981
+ /** @deprecated "createA2UIMessageRenderer" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
2982
+ declare const createA2UIMessageRenderer: _copilotkit_shared0.RemovedApi<"\"createA2UIMessageRenderer\" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer">;
2983
+ /** @deprecated "CrewsAgentState" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2984
2984
  type CrewsAgentState = RemovedType<"CrewsAgentState", "Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app.", "/migrate/v2#hook-mapping">;
2985
- /** @deprecated "CrewsResponse" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2985
+ /** @deprecated "CrewsResponse" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2986
2986
  type CrewsResponse = RemovedType<"CrewsResponse", "Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app.", "/migrate/v2#hook-mapping">;
2987
- /** @deprecated "CrewsResponseStatus" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2987
+ /** @deprecated "CrewsResponseStatus" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2988
2988
  type CrewsResponseStatus = RemovedType<"CrewsResponseStatus", "Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app.", "/migrate/v2#hook-mapping">;
2989
- /** @deprecated "CrewsStateItem" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2989
+ /** @deprecated "CrewsStateItem" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2990
2990
  type CrewsStateItem = RemovedType<"CrewsStateItem", "Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app.", "/migrate/v2#hook-mapping">;
2991
- /** @deprecated "CrewsTaskStateItem" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2991
+ /** @deprecated "CrewsTaskStateItem" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2992
2992
  type CrewsTaskStateItem = RemovedType<"CrewsTaskStateItem", "Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app.", "/migrate/v2#hook-mapping">;
2993
- /** @deprecated "CrewsToolStateItem" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2993
+ /** @deprecated "CrewsToolStateItem" was removed in CopilotKit 2.0. Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2994
2994
  type CrewsToolStateItem = RemovedType<"CrewsToolStateItem", "Read the agent state with useAgent from @copilotkit/react-core, and declare its type in your app.", "/migrate/v2#hook-mapping">;
2995
- /** @deprecated "DocumentPointer" was removed in CopilotKit 2.0. Pass the data to useAgentContext from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2995
+ /** @deprecated "DocumentPointer" was removed in CopilotKit 2.0. Pass the data to useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2996
2996
  type DocumentPointer = RemovedType<"DocumentPointer", "Pass the data to useAgentContext from @copilotkit/react-core.", "/migrate/v2#hook-mapping">;
2997
- /** @deprecated "FrontendAction" was removed in CopilotKit 2.0. Use ReactFrontendTool from @copilotkit/react-core, the argument of useFrontendTool. Its parameters is a Zod 4 / Standard Schema. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2997
+ /** @deprecated "FrontendAction" was removed in CopilotKit 2.0. Use ReactFrontendTool from @copilotkit/react-core, the argument of useFrontendTool. Its parameters is a Zod 4 / Standard Schema. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2998
2998
  type FrontendAction<_T1 = unknown, _T2 = unknown> = RemovedType<"FrontendAction", "Use ReactFrontendTool from @copilotkit/react-core, the argument of useFrontendTool. Its parameters is a Zod 4 / Standard Schema.", "/migrate/v2#hook-mapping">;
2999
- /** @deprecated "FrontendActionAvailability" was removed in CopilotKit 2.0. Set available on useFrontendTool from @copilotkit/react-core to true or false. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
2999
+ /** @deprecated "FrontendActionAvailability" was removed in CopilotKit 2.0. Set available on useFrontendTool from @copilotkit/react-core to true or false. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3000
3000
  type FrontendActionAvailability = RemovedType<"FrontendActionAvailability", "Set available on useFrontendTool from @copilotkit/react-core to true or false.", "/migrate/v2#hook-mapping">;
3001
- /** @deprecated "HintFunction" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
3001
+ /** @deprecated "HintFunction" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
3002
3002
  type HintFunction = RemovedType<"HintFunction", "Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core.", "/programmatic-control#sending-a-message-from-code">;
3003
- /** @deprecated "LangGraphInterruptAction" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3003
+ /** @deprecated "LangGraphInterruptAction" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3004
3004
  type LangGraphInterruptAction = RemovedType<"LangGraphInterruptAction", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3005
- /** @deprecated "LangGraphInterruptActionSetter" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3005
+ /** @deprecated "LangGraphInterruptActionSetter" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3006
3006
  type LangGraphInterruptActionSetter = RemovedType<"LangGraphInterruptActionSetter", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3007
- /** @deprecated "LangGraphInterruptActionSetterArgs" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3007
+ /** @deprecated "LangGraphInterruptActionSetterArgs" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3008
3008
  type LangGraphInterruptActionSetterArgs = RemovedType<"LangGraphInterruptActionSetterArgs", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3009
- /** @deprecated "LangGraphInterruptRender" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3009
+ /** @deprecated "LangGraphInterruptRender" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3010
3010
  type LangGraphInterruptRender<_T1 = unknown> = RemovedType<"LangGraphInterruptRender", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3011
- /** @deprecated "LangGraphInterruptRenderHandlerProps" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3011
+ /** @deprecated "LangGraphInterruptRenderHandlerProps" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3012
3012
  type LangGraphInterruptRenderHandlerProps<_T1 = unknown> = RemovedType<"LangGraphInterruptRenderHandlerProps", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3013
- /** @deprecated "LangGraphInterruptRenderProps" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3013
+ /** @deprecated "LangGraphInterruptRenderProps" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3014
3014
  type LangGraphInterruptRenderProps<_T1 = unknown> = RemovedType<"LangGraphInterruptRenderProps", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3015
- /** @deprecated "OnReloadMessages" was removed in CopilotKit 2.0. Configure the chat with the props and slots of CopilotChat from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#replace-react-ui-imports */
3015
+ /** @deprecated "OnReloadMessages" was removed in CopilotKit 2.0. Configure the chat with the props and slots of CopilotChat from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#replace-react-ui-imports */
3016
3016
  type OnReloadMessages = RemovedType<"OnReloadMessages", "Configure the chat with the props and slots of CopilotChat from @copilotkit/react-core.", "/migrate/v2#replace-react-ui-imports">;
3017
- /** @deprecated "OnStopGeneration" was removed in CopilotKit 2.0. Configure the chat with the props and slots of CopilotChat from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#replace-react-ui-imports */
3017
+ /** @deprecated "OnStopGeneration" was removed in CopilotKit 2.0. Configure the chat with the props and slots of CopilotChat from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#replace-react-ui-imports */
3018
3018
  type OnStopGeneration = RemovedType<"OnStopGeneration", "Configure the chat with the props and slots of CopilotChat from @copilotkit/react-core.", "/migrate/v2#replace-react-ui-imports">;
3019
- /** @deprecated "QueuedInterruptEvent" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3019
+ /** @deprecated "QueuedInterruptEvent" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3020
3020
  type QueuedInterruptEvent = RemovedType<"QueuedInterruptEvent", "Use useInterrupt from @copilotkit/react-core, with its UseInterruptConfig, InterruptRenderProps, and InterruptHandlerProps types.", "/migrate/v2#hook-mapping">;
3021
- /** @deprecated "RenderFunctionStatus" was removed in CopilotKit 2.0. Use ToolCallStatus from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3021
+ /** @deprecated "RenderFunctionStatus" was removed in CopilotKit 2.0. Use ToolCallStatus from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3022
3022
  type RenderFunctionStatus = RemovedType<"RenderFunctionStatus", "Use ToolCallStatus from @copilotkit/react-core.", "/migrate/v2#hook-mapping">;
3023
- /** @deprecated "shouldShowDevConsole" was removed in CopilotKit 2.0. Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#showdevconsole */
3024
- declare const shouldShowDevConsole: _copilotkit_shared0.RemovedApi<"\"shouldShowDevConsole\" was removed in CopilotKit 2.0. Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#showdevconsole">;
3025
- /** @deprecated "SystemMessageFunction" was removed in CopilotKit 2.0. Give the agent its instructions in the agent, or with useAgentContext from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3023
+ /** @deprecated "shouldShowDevConsole" was removed in CopilotKit 2.0. Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#showdevconsole */
3024
+ declare const shouldShowDevConsole: _copilotkit_shared0.RemovedApi<"\"shouldShowDevConsole\" was removed in CopilotKit 2.0. Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#showdevconsole">;
3025
+ /** @deprecated "SystemMessageFunction" was removed in CopilotKit 2.0. Give the agent its instructions in the agent, or with useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3026
3026
  type SystemMessageFunction = RemovedType<"SystemMessageFunction", "Give the agent its instructions in the agent, or with useAgentContext from @copilotkit/react-core.", "/migrate/v2#hook-mapping">;
3027
- /** @deprecated "ThreadsContextValue" was removed in CopilotKit 2.0. Use useThreads from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
3027
+ /** @deprecated "ThreadsContextValue" was removed in CopilotKit 2.0. Use useThreads from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
3028
3028
  type ThreadsContextValue = RemovedType<"ThreadsContextValue", "Use useThreads from @copilotkit/react-core.", "/migrate/chat-2.0#thread-lists">;
3029
- /** @deprecated "ThreadsProvider" was removed in CopilotKit 2.0. Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
3030
- declare const ThreadsProvider: _copilotkit_shared0.RemovedApi<"\"ThreadsProvider\" was removed in CopilotKit 2.0. Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists">;
3031
- /** @deprecated "ThreadsProviderProps" was removed in CopilotKit 2.0. Use useThreads from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
3029
+ /** @deprecated "ThreadsProvider" was removed in CopilotKit 2.0. Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
3030
+ declare const ThreadsProvider: _copilotkit_shared0.RemovedApi<"\"ThreadsProvider\" was removed in CopilotKit 2.0. Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists">;
3031
+ /** @deprecated "ThreadsProviderProps" was removed in CopilotKit 2.0. Use useThreads from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
3032
3032
  type ThreadsProviderProps = RemovedType<"ThreadsProviderProps", "Use useThreads from @copilotkit/react-core.", "/migrate/chat-2.0#thread-lists">;
3033
- /** @deprecated "Tree" was removed in CopilotKit 2.0. Pass the data to useAgentContext from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3033
+ /** @deprecated "Tree" was removed in CopilotKit 2.0. Pass the data to useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3034
3034
  type Tree = RemovedType<"Tree", "Pass the data to useAgentContext from @copilotkit/react-core.", "/migrate/v2#hook-mapping">;
3035
- /** @deprecated "TreeNode" was removed in CopilotKit 2.0. Pass the data to useAgentContext from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3035
+ /** @deprecated "TreeNode" was removed in CopilotKit 2.0. Pass the data to useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3036
3036
  type TreeNode = RemovedType<"TreeNode", "Pass the data to useAgentContext from @copilotkit/react-core.", "/migrate/v2#hook-mapping">;
3037
- /** @deprecated "useCoAgent" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3038
- declare const useCoAgent: _copilotkit_shared0.RemovedApi<"\"useCoAgent\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3039
- /** @deprecated "useCoAgentStateRender" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3040
- declare const useCoAgentStateRender: _copilotkit_shared0.RemovedApi<"\"useCoAgentStateRender\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3041
- /** @deprecated "useCoAgentStateRenders" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3042
- declare const useCoAgentStateRenders: _copilotkit_shared0.RemovedApi<"\"useCoAgentStateRenders\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3043
- /** @deprecated "useCopilotAction" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3044
- declare const useCopilotAction: _copilotkit_shared0.RemovedApi<"\"useCopilotAction\" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3045
- /** @deprecated "useCopilotAdditionalInstructions" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core to give the agent the instructions. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3046
- declare const useCopilotAdditionalInstructions: _copilotkit_shared0.RemovedApi<"\"useCopilotAdditionalInstructions\" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core to give the agent the instructions. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3047
- /** @deprecated "useCopilotAuthenticatedAction_c" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core, and check the user in its handler. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3048
- declare const useCopilotAuthenticatedAction_c: _copilotkit_shared0.RemovedApi<"\"useCopilotAuthenticatedAction_c\" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core, and check the user in its handler. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3049
- /** @deprecated "useCopilotChat" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3050
- declare const useCopilotChat: _copilotkit_shared0.RemovedApi<"\"useCopilotChat\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3051
- /** @deprecated "useCopilotChatHeadless_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3052
- declare const useCopilotChatHeadless_c: _copilotkit_shared0.RemovedApi<"\"useCopilotChatHeadless_c\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3053
- /** @deprecated "useCopilotChatInternal" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3054
- declare const useCopilotChatInternal: _copilotkit_shared0.RemovedApi<"\"useCopilotChatInternal\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3055
- /** @deprecated "UseCopilotChatOptions" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3037
+ /** @deprecated "useCoAgent" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3038
+ declare const useCoAgent: _copilotkit_shared0.RemovedApi<"\"useCoAgent\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3039
+ /** @deprecated "useCoAgentStateRender" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3040
+ declare const useCoAgentStateRender: _copilotkit_shared0.RemovedApi<"\"useCoAgentStateRender\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3041
+ /** @deprecated "useCoAgentStateRenders" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3042
+ declare const useCoAgentStateRenders: _copilotkit_shared0.RemovedApi<"\"useCoAgentStateRenders\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3043
+ /** @deprecated "useCopilotAction" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3044
+ declare const useCopilotAction: _copilotkit_shared0.RemovedApi<"\"useCopilotAction\" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3045
+ /** @deprecated "useCopilotAdditionalInstructions" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core to give the agent the instructions. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3046
+ declare const useCopilotAdditionalInstructions: _copilotkit_shared0.RemovedApi<"\"useCopilotAdditionalInstructions\" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core to give the agent the instructions. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3047
+ /** @deprecated "useCopilotAuthenticatedAction_c" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core, and check the user in its handler. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3048
+ declare const useCopilotAuthenticatedAction_c: _copilotkit_shared0.RemovedApi<"\"useCopilotAuthenticatedAction_c\" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core, and check the user in its handler. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3049
+ /** @deprecated "useCopilotChat" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3050
+ declare const useCopilotChat: _copilotkit_shared0.RemovedApi<"\"useCopilotChat\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3051
+ /** @deprecated "useCopilotChatHeadless_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3052
+ declare const useCopilotChatHeadless_c: _copilotkit_shared0.RemovedApi<"\"useCopilotChatHeadless_c\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3053
+ /** @deprecated "useCopilotChatInternal" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3054
+ declare const useCopilotChatInternal: _copilotkit_shared0.RemovedApi<"\"useCopilotChatInternal\" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3055
+ /** @deprecated "UseCopilotChatOptions" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3056
3056
  type UseCopilotChatOptions = RemovedType<"UseCopilotChatOptions", "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.", "/migrate/v2#hook-mapping">;
3057
- /** @deprecated "UseCopilotChatOptions_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3057
+ /** @deprecated "UseCopilotChatOptions_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3058
3058
  type UseCopilotChatOptions_c = RemovedType<"UseCopilotChatOptions_c", "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.", "/migrate/v2#hook-mapping">;
3059
- /** @deprecated "UseCopilotChatReturn" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3059
+ /** @deprecated "UseCopilotChatReturn" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3060
3060
  type UseCopilotChatReturn = RemovedType<"UseCopilotChatReturn", "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.", "/migrate/v2#hook-mapping">;
3061
- /** @deprecated "UseCopilotChatReturn_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3061
+ /** @deprecated "UseCopilotChatReturn_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3062
3062
  type UseCopilotChatReturn_c = RemovedType<"UseCopilotChatReturn_c", "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.", "/migrate/v2#hook-mapping">;
3063
- /** @deprecated "useCopilotChatSuggestions" was removed in CopilotKit 2.0. Use useConfigureSuggestions from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3064
- declare const useCopilotChatSuggestions: _copilotkit_shared0.RemovedApi<"\"useCopilotChatSuggestions\" was removed in CopilotKit 2.0. Use useConfigureSuggestions from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3065
- /** @deprecated "UseCopilotChatSuggestionsConfiguration" was removed in CopilotKit 2.0. Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3063
+ /** @deprecated "useCopilotChatSuggestions" was removed in CopilotKit 2.0. Use useConfigureSuggestions from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3064
+ declare const useCopilotChatSuggestions: _copilotkit_shared0.RemovedApi<"\"useCopilotChatSuggestions\" was removed in CopilotKit 2.0. Use useConfigureSuggestions from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3065
+ /** @deprecated "UseCopilotChatSuggestionsConfiguration" was removed in CopilotKit 2.0. Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3066
3066
  type UseCopilotChatSuggestionsConfiguration = RemovedType<"UseCopilotChatSuggestionsConfiguration", "Use SuggestionsConfig from @copilotkit/react-core, the argument of useConfigureSuggestions.", "/migrate/v2#hook-mapping">;
3067
- /** @deprecated "useCopilotContext" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
3068
- declare const useCopilotContext: _copilotkit_shared0.RemovedApi<"\"useCopilotContext\" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code">;
3069
- /** @deprecated "useCopilotMessagesContext" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3070
- declare const useCopilotMessagesContext: _copilotkit_shared0.RemovedApi<"\"useCopilotMessagesContext\" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3071
- /** @deprecated "useCopilotReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3072
- declare const useCopilotReadable: _copilotkit_shared0.RemovedApi<"\"useCopilotReadable\" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3073
- /** @deprecated "useCopilotRuntimeClient" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
3074
- declare const useCopilotRuntimeClient: _copilotkit_shared0.RemovedApi<"\"useCopilotRuntimeClient\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
3075
- /** @deprecated "useDefaultTool" was removed in CopilotKit 2.0. Use useDefaultRenderTool from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3076
- declare const useDefaultTool: _copilotkit_shared0.RemovedApi<"\"useDefaultTool\" was removed in CopilotKit 2.0. Use useDefaultRenderTool from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3077
- /** @deprecated "useLangGraphInterrupt" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3078
- declare const useLangGraphInterrupt: _copilotkit_shared0.RemovedApi<"\"useLangGraphInterrupt\" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3079
- /** @deprecated "useLazyToolRenderer" was removed in CopilotKit 2.0. Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#gotchas */
3080
- declare const useLazyToolRenderer: _copilotkit_shared0.RemovedApi<"\"useLazyToolRenderer\" was removed in CopilotKit 2.0. Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#gotchas">;
3081
- /** @deprecated "useLearningContainers" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3082
- declare const useLearningContainers: _copilotkit_shared0.RemovedApi<"\"useLearningContainers\" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports">;
3083
- /** @deprecated "UseLearningContainersArgs" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3067
+ /** @deprecated "useCopilotContext" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
3068
+ declare const useCopilotContext: _copilotkit_shared0.RemovedApi<"\"useCopilotContext\" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code">;
3069
+ /** @deprecated "useCopilotMessagesContext" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3070
+ declare const useCopilotMessagesContext: _copilotkit_shared0.RemovedApi<"\"useCopilotMessagesContext\" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3071
+ /** @deprecated "useCopilotReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3072
+ declare const useCopilotReadable: _copilotkit_shared0.RemovedApi<"\"useCopilotReadable\" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3073
+ /** @deprecated "useCopilotRuntimeClient" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
3074
+ declare const useCopilotRuntimeClient: _copilotkit_shared0.RemovedApi<"\"useCopilotRuntimeClient\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
3075
+ /** @deprecated "useDefaultTool" was removed in CopilotKit 2.0. Use useDefaultRenderTool from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3076
+ declare const useDefaultTool: _copilotkit_shared0.RemovedApi<"\"useDefaultTool\" was removed in CopilotKit 2.0. Use useDefaultRenderTool from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3077
+ /** @deprecated "useLangGraphInterrupt" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3078
+ declare const useLangGraphInterrupt: _copilotkit_shared0.RemovedApi<"\"useLangGraphInterrupt\" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3079
+ /** @deprecated "useLazyToolRenderer" was removed in CopilotKit 2.0. Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#gotchas */
3080
+ declare const useLazyToolRenderer: _copilotkit_shared0.RemovedApi<"\"useLazyToolRenderer\" was removed in CopilotKit 2.0. Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#gotchas">;
3081
+ /** @deprecated "useLearningContainers" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3082
+ declare const useLearningContainers: _copilotkit_shared0.RemovedApi<"\"useLearningContainers\" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports">;
3083
+ /** @deprecated "UseLearningContainersArgs" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3084
3084
  type UseLearningContainersArgs = RemovedType<"UseLearningContainersArgs", "Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime.", "/migrate/chat-2.0#removed-exports">;
3085
- /** @deprecated "useLearningContainersInCurrentThread" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3086
- declare const useLearningContainersInCurrentThread: _copilotkit_shared0.RemovedApi<"\"useLearningContainersInCurrentThread\" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports">;
3087
- /** @deprecated "UseLearningContainersInCurrentThreadArgs" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3085
+ /** @deprecated "useLearningContainersInCurrentThread" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3086
+ declare const useLearningContainersInCurrentThread: _copilotkit_shared0.RemovedApi<"\"useLearningContainersInCurrentThread\" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports">;
3087
+ /** @deprecated "UseLearningContainersInCurrentThreadArgs" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
3088
3088
  type UseLearningContainersInCurrentThreadArgs = RemovedType<"UseLearningContainersInCurrentThreadArgs", "Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime.", "/migrate/chat-2.0#removed-exports">;
3089
- /** @deprecated "useMakeCopilotDocumentReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core, with the document text as the value. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3090
- declare const useMakeCopilotDocumentReadable: _copilotkit_shared0.RemovedApi<"\"useMakeCopilotDocumentReadable\" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core, with the document text as the value. Run `npx codemod @copilotkit/v2-migration` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3089
+ /** @deprecated "useMakeCopilotDocumentReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core, with the document text as the value. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
3090
+ declare const useMakeCopilotDocumentReadable: _copilotkit_shared0.RemovedApi<"\"useMakeCopilotDocumentReadable\" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core, with the document text as the value. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping">;
3091
3091
  //#endregion
3092
3092
  export { A2UIActionInterceptor, type A2UIMarkdownOperation, A2UIMessageRendererOptions, A2UIRecoveryRendererOptions, A2UITheme, A2UIUserAction, A2UI_FENCE_LANGUAGE, ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIEnforcementLimitError, AGUIError, type AGUIEvent, type AGUIEventByType, type AGUIEventOf, AGUI_METADATA_KEY, AbstractAgent, type ActionConfig, type ActionCreator, type ActionFromCreator, type ActionFromCreators, type ActionGroupConfig, type ActionGroupResult, ActionRenderProps, ActionRenderPropsNoArgs, ActionRenderPropsNoArgsWait, ActionRenderPropsWait, type ActivityDeltaEvent, type ActivityDeltaEventProps, ActivityDeltaEventSchema, type ActivityMessage, type ActivityMessageRenderProps, type ActivityMessageRendererDef, ActivityMessageSchema, type ActivitySnapshotEvent, type ActivitySnapshotEventProps, ActivitySnapshotEventSchema, type AddOperation, AddOperationSchema, type AgentCapabilities, AgentCapabilitiesSchema, type AgentConfig, type AgentContextInput, type AgentDebugConfig, AgentRegistry, type AgentStateMutation, type AgentSubscriber, type AgentSubscriberParams, AgentThreadLockedError, type AnyAction, type ApplyEventsOptions, type AssistantMessage, AssistantMessageSchema, type Attachment, type AttachmentModality, type AttachmentsConfig, type Attributable, AttributableSchema, type AudioInputContent, AudioInputContentSchema, type AudioInputPart, AudioInputPartSchema, type AudioPart, AudioPartSchema, AudioRecorderError, type AudioRecorderState, type AutoScrollMode, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, type BaseEvent, type BaseEventFields, type BaseEventProps, BaseEventSchema, type BaseMessage, BaseMessageSchema, CatchAllActionRenderProps, CatchAllActionRenderPropsWait, CatchAllFrontendAction, ChatSuggestions, type ChildIdsOf, type ChildWalkOptions, CoAgentStateRendersContextValue, CoAgentStateRendersProvider, CoagentInChatRenderFunction, CompatibilityBoundary, type ContentPart, ContentPartSchema, type Context, ContextSchema, ContextStore, CopilotApiConfig, CopilotChat, CopilotChatAssistantMessage, type CopilotChatAssistantMessageProps, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, type CopilotChatConfigurationProviderProps, type CopilotChatConfigurationValue, CopilotChatDefaultLabels, type CopilotChatFeedbackMessage, CopilotChatInput, type CopilotChatInputProps, type CopilotChatLabels, CopilotChatMessageView, type CopilotChatMessageViewProps, type CopilotChatProps, CopilotChatReasoningMessage, type CopilotChatReasoningMessageProps, CopilotChatSuggestionConfiguration, CopilotChatSuggestionPill, type CopilotChatSuggestionPillProps, CopilotChatSuggestionView, type CopilotChatSuggestionViewProps, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, type CopilotChatToggleButtonProps, type CopilotChatToolCallDisplay, CopilotChatToolCallGroup, type CopilotChatToolCallGroupAppearance, type CopilotChatToolCallGroupProps, CopilotChatToolCallsView, type CopilotChatToolCallsViewProps, CopilotChatUserMessage, type CopilotChatUserMessageProps, CopilotChatView, type CopilotChatViewProps, CopilotChatWorkSummary, type CopilotChatWorkSummaryProps, CopilotContextParams, type CopilotIconData, type CopilotIconDefinition, type CopilotIconName, type CopilotIconNode, CopilotKit, type CopilotKitContextValue, CopilotKitCore, type CopilotKitCoreAddAgentParams, type CopilotKitCoreCatalogComponent, type CopilotKitCoreConfig, type CopilotKitCoreConnectAgentParams, type CopilotKitCoreContinuationHandoff, CopilotKitCoreErrorCode, type CopilotKitCoreErrorEvent, type CopilotKitCoreErrorHandler, type CopilotKitCoreFriendsAccess, type CopilotKitCoreGetSuggestionsResult, type CopilotKitCoreGetToolParams, CopilotKitCoreReact, type CopilotKitCoreReactConfig, CopilotKitCoreReactSubscriber, type CopilotKitCoreRegisterProxiedAgentParams, type CopilotKitCoreRegisterProxiedAgentResult, type CopilotKitCoreRunAgentParams, type CopilotKitCoreRunToolParams, type CopilotKitCoreRunToolResult, CopilotKitCoreRuntimeConnectionStatus, type CopilotKitCoreStopAgentParams, type CopilotKitCoreSubscriber, type CopilotKitCoreSubscription, CopilotKitHeaderResolutionError, type CopilotKitHeadersSource, CopilotKitInspector, CopilotKitInspectorProps, type CopilotKitMessageFilter, type CopilotKitProps, CopilotKitProvider, type CopilotKitProviderProps, CopilotKitStyles, CopilotMessagesContextParams, CopilotModalHeader, type CopilotModalHeaderProps, CopilotPopup, type CopilotPopupProps, CopilotPopupView, type CopilotPopupViewProps, type CopilotRuntimeTransport, CopilotSidebar, type CopilotSidebarProps, CopilotSidebarView, type CopilotSidebarViewProps, CopilotTask, CopilotTaskConfig, CopilotThreadsDrawer, type CopilotThreadsDrawerProps, type CopilotThreadsDrawerRowRenderer, type CopyOperation, CopyOperationSchema, CrewsAgentState, CrewsResponse, CrewsResponseStatus, CrewsStateItem, CrewsTaskStateItem, CrewsToolStateItem, type CustomEvent, type CustomEventProps, CustomEventSchema, type CustomMessageRenderProps, type CustomMessageRendererDef, type CustomMessageRendererPosition, DEFAULT_MAX_ENFORCED_ENTRIES, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, type DataSource, DataSourceSchema, DebugLogger, type DebugLoggerInput, DefaultMarkdownRendererProps, type DeveloperMessage, DeveloperMessageSchema, type DispatchingEffect, type DispatchingEffectOptions, type DocumentInputContent, DocumentInputContentSchema, type DocumentInputPart, DocumentInputPartSchema, type DocumentPart, DocumentPartSchema, DocumentPointer, type DynamicSuggestionsConfig, type Effect, type EmptyActionConfig, type EnforcementOptions, type Event, type EventPayloadOf, EventSchema, EventSchemas, EventType, EventTypeSchema, type ExecutionCapabilities, ExecutionCapabilitiesSchema, type FileSource, FileSourceSchema, FilterToolCallsMiddleware, FrontendAction, FrontendActionAvailability, type FrontendTool, type FrontendToolHandlerContext, type FrontendToolReconnectBehavior, type FunctionCall, FunctionCallSchema, FunctionMiddleware, GENERATE_SANDBOXED_UI_TOOL_NAME, type GenerateSandboxedUiArgs, GenerateSandboxedUiArgsSchema, HintFunction, HttpAgent, type HttpAgentConfig, type HttpAgentFetchFn, type HumanInTheLoopCapabilities, HumanInTheLoopCapabilitiesSchema, type HumanInTheLoopRenderProps, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTELLIGENCE_TURN_HEAD, INTERRUPT_EVENT_NAME, type IdentityCapabilities, IdentityCapabilitiesSchema, type ImageInputContent, ImageInputContentSchema, type ImageInputPart, ImageInputPartSchema, type ImagePart, ImagePartSchema, type InputContent, type InputContentDataSource, InputContentDataSourceSchema, type InputContentPart, InputContentSchema, type InputContentSource, InputContentSourceSchema, type InputContentUrlSource, InputContentUrlSourceSchema, type InspectorActiveThreadPayload, type InspectorAnchor, type InspectorMetadataV1, type InspectorStopViewingPayload, type InspectorViewThreadPayload, type InspectorViewThreadResultPayload, IntelligenceAgent, type IntelligenceAgentConfig, IntelligenceIndicator, type IntelligenceIndicatorProps, type IntelligenceIndicatorStatus, IntelligenceIndicatorView, type IntelligenceIndicatorViewProps, IntelligenceReplayFailedError, type IntelligenceRuntimeInfo, type Interrupt, type InterruptCancelFn, type InterruptEvent, type InterruptHandlerProps, type InterruptRenderProps, type InterruptResolveFn, InterruptSchema, type JsonPatch, type JsonPatchOperation, JsonPatchOperationSchema, JsonPatchSchema, type JsonPointer, JsonPointerSchema, type JsonSerializable, type JsonValue, LangGraphInterruptAction, LangGraphInterruptActionSetter, LangGraphInterruptActionSetterArgs, LangGraphInterruptRender, LangGraphInterruptRenderHandlerProps, LangGraphInterruptRenderProps, type LearnFromUserActionInCurrentThreadInput, type LearnFromUserActionInput, type LearnFromUserActionResult, type LearningConfig, type LegacyLearningConfig, type MCPAppsActivityContent, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, MEMORY_ERROR_REGISTRY, MarkdownRenderer, MarkdownRendererProps, MarkdownRendererProvider, type MarkdownSegment, type Memory, type MemoryChanges, MemoryError, type MemoryErrorCategory, type MemoryErrorCode, type MemoryErrorRegistryEntry, type MemoryKind, type MemoryRealtimeStatus, type MemoryScope, type Message, type MessageGroup, type MessageGroupWrapperProps, type MessageRow, MessageSchema, type MessagesSnapshotEvent, type MessagesSnapshotEventProps, MessagesSnapshotEventSchema, type Metadata, MetadataSchema, Middleware, type MiddlewareFunction, type MoveOperation, MoveOperationSchema, type MultiAgentCapabilities, MultiAgentCapabilitiesSchema, type MultimodalCapabilities, MultimodalCapabilitiesSchema, type MultimodalInputCapabilities, MultimodalInputCapabilitiesSchema, type MultimodalOutputCapabilities, MultimodalOutputCapabilitiesSchema, type NewMemory, type NonDispatchingEffect, type NonDispatchingEffectOptions, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OnReloadMessages, OnStopGeneration, OpenGenerativeUIActivityRenderer, OpenGenerativeUIActivityType, type OpenGenerativeUIContent, OpenGenerativeUIContentSchema, OpenGenerativeUIToolRenderer, type OpenThreadRegistration, OptionalMetadataSchema, type OutputCapabilities, OutputCapabilitiesSchema, PROTOCOL_VERSION, type PartSource, PartSourceSchema, type PropsActionConfig, ProxiedCopilotRuntimeAgent, type ProxiedCopilotRuntimeAgentConfig, QueuedInterruptEvent, type RawEvent, type RawEventProps, RawEventSchema, ReactActivityMessageRenderer, ReactCustomMessageRenderer, ReactCustomMessageRendererPosition, ReactFrontendTool, ReactHumanInTheLoop, ReactToolCallRenderer, type ReasoningCapabilities, ReasoningCapabilitiesSchema, type ReasoningEncryptedValueEvent, type ReasoningEncryptedValueEventProps, ReasoningEncryptedValueEventSchema, type ReasoningEncryptedValueSubtype, ReasoningEncryptedValueSubtypeSchema, type ReasoningEndEvent, type ReasoningEndEventProps, ReasoningEndEventSchema, type ReasoningMessage, type ReasoningMessageChunkEvent, type ReasoningMessageChunkEventProps, ReasoningMessageChunkEventSchema, type ReasoningMessageContentEvent, type ReasoningMessageContentEventProps, ReasoningMessageContentEventSchema, type ReasoningMessageEndEvent, type ReasoningMessageEndEventProps, ReasoningMessageEndEventSchema, ReasoningMessageSchema, type ReasoningMessageStartEvent, type ReasoningMessageStartEventProps, ReasoningMessageStartEventSchema, type ReasoningStartEvent, type ReasoningStartEventProps, ReasoningStartEventSchema, type Reducer, type RemoveOperation, RemoveOperationSchema, RenderFunctionStatus, type ReplaceOperation, ReplaceOperationSchema, type ResolvedAgentDebugConfig, type ResumeEntry, ResumeEntrySchema, type ResumeStatus, type Role, RoleSchema, type RunAgentInput, RunAgentInputSchema, type RunAgentParameters, type RunAgentResult, type RunCompletionAware, type RunErrorEvent, type RunErrorEventProps, RunErrorEventSchema, type RunErrorPhase, type RunFinishedCancelledOutcome, RunFinishedCancelledOutcomeSchema, type RunFinishedEvent, type RunFinishedEventProps, RunFinishedEventSchema, type RunFinishedInterruptOutcome, RunFinishedInterruptOutcomeSchema, type RunFinishedOutcome, RunFinishedOutcomeSchema, type RunFinishedSuccessOutcome, RunFinishedSuccessOutcomeSchema, RunHandler, type RunStartedEvent, type RunStartedEventProps, RunStartedEventSchema, type RuntimeLicenseStatus, type RuntimeMode, SandboxFunction, SandboxFunctionsContext, type ScopedContext, type ScopedProperties, type Selector, type StartResult, type State, type StateCapabilities, StateCapabilitiesSchema, type StateDeltaEvent, type StateDeltaEventProps, StateDeltaEventSchema, StateManager, StateSchema, type StateSnapshotEvent, type StateSnapshotEventProps, StateSnapshotEventSchema, type StaticSuggestionsConfig, type StepFinishedEvent, type StepFinishedEventProps, StepFinishedEventSchema, type StepStartedEvent, type StepStartedEventProps, StepStartedEventSchema, type Store, type StoreLifecycleAction, StreamingMarkdownDefaultRenderer, type SubagentErrorEvent, type SubagentErrorEventProps, SubagentErrorEventSchema, type SubagentFinishedEvent, type SubagentFinishedEventProps, SubagentFinishedEventSchema, type SubagentFinishedOutcome, SubagentFinishedOutcomeSchema, type SubagentFinishedSuccessOutcome, SubagentFinishedSuccessOutcomeSchema, type SubagentFinishedSuspendedOutcome, SubagentFinishedSuspendedOutcomeSchema, type SubagentInfo, SubagentInfoSchema, type SubagentRunId, SubagentRunIdSchema, type SubagentStartedEvent, type SubagentStartedEventProps, SubagentStartedEventSchema, type SubscribeToAgentOptions, type SubscribeToAgentSubscriber, type Suggestion, type SuggestionAvailability, SuggestionEngine, type SuggestionsConfig, type SurfaceSegment, type SystemMessage, SystemMessageFunction, SystemMessageSchema, type TestOperation, TestOperationSchema, type TextInputContent, TextInputContentSchema, type TextMessageChunkEvent, type TextMessageChunkEventProps, TextMessageChunkEventSchema, type TextMessageContentEvent, type TextMessageContentEventProps, TextMessageContentEventSchema, type TextMessageEndEvent, type TextMessageEndEventProps, TextMessageEndEventSchema, type TextMessageRole, TextMessageRoleSchema, type TextMessageStartEvent, type TextMessageStartEventProps, TextMessageStartEventSchema, type TextPart, TextPartSchema, type Thread, type ThreadEndpointRuntimeInfo, type ThreadRunActivityNotification, ThreadsContextValue, ThreadsProvider, ThreadsProviderProps, type TokenUsage, TokenUsageSchema, type Tool, type ToolCall, type ToolCallArgsEvent, type ToolCallArgsEventProps, ToolCallArgsEventSchema, type ToolCallChunkEvent, type ToolCallChunkEventProps, ToolCallChunkEventSchema, type ToolCallEndEvent, type ToolCallEndEventProps, ToolCallEndEventSchema, type ToolCallEntry, type ToolCallRenderProps, type ToolCallRendererDef, type ToolCallResultEvent, type ToolCallResultEventProps, ToolCallResultEventSchema, ToolCallSchema, type ToolCallStartEvent, type ToolCallStartEventProps, ToolCallStartEventSchema, ToolCallStatus, type ToolMessage, ToolMessageSchema, ToolSchema, type ToolsCapabilities, ToolsCapabilitiesSchema, type ToolsMenuItem, type TrajectoryStartOptions, TranscriptionError, TranscriptionErrorCode, type TranscriptionErrorInfo, type TranscriptionResult, type TransportCapabilities, TransportCapabilitiesSchema, Tree, TreeNode, type UnrecognizedEvent, type UrlSource, UrlSourceSchema, UseAgentUpdate, type UseAttachmentsProps, type UseAttachmentsReturn, UseCopilotChatOptions, UseCopilotChatOptions_c, UseCopilotChatReturn, UseCopilotChatReturn_c, UseCopilotChatSuggestionsConfiguration, type UseInterruptConfig, type UseLearnFromUserActionInCurrentThreadRecorder, type UseLearnFromUserActionRecorder, UseLearningContainersArgs, UseLearningContainersInCurrentThreadArgs, type UseMemoriesResult, type UseThreadsInput, type UseThreadsResult, type UserMessage, UserMessageSchema, type VideoInputContent, VideoInputContentSchema, type VideoInputPart, VideoInputPartSchema, type VideoPart, VideoPartSchema, type WebMCPModelContext, WebMCPRegistry, type WebMCPToolAnnotations, type WebMCPToolConfig, WildcardToolCallRender, aggregateTokenUsage, authoritativeActivityTypes, buildResumeArray, classifySurfaceCards, compactEvents, completePartialMarkdown, contentHasMedia, contentToText, convertToLegacyEvents, createA2UIMessageRenderer, createActionGroup, createDebugLogger, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, defaultApplyEvents, defineToolCallRenderer, emitInspectorActiveThread, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, enforceEvents, enforceOutgoingInput, ensureObjectArgs, extractCompleteArrayItems, extractFenceOperations, extractStringField, flattenInformationalCards, getIntelligenceTurnAnchors, getMarkdownOperationSurfaceId, getRunOutcome, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isInterruptExpired, isRecognizedEvent, isRunCompletionAware, mergeMetadata, messageGroup, messageRow, ofType, omitOptionalNulls, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseProtoStream, parseSSEStream, parseToolArguments, prepareSurfaceOperations, props, randomUUID, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, segmentSurfaceProse, select, shouldShowDevConsole, splitA2UIMarkdown, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, useAgent, useAgentContext, useAttachments, useCapabilities, useCoAgent, useCoAgentStateRender, useCoAgentStateRenders, useComponent, useConfigureSuggestions, useCopilotAction, useCopilotAdditionalInstructions, useCopilotAuthenticatedAction_c, useCopilotChat, useCopilotChatConfiguration, useCopilotChatHeadless_c, useCopilotChatInternal, useCopilotChatSuggestions, useCopilotContext, useCopilotKit, useCopilotMessagesContext, useCopilotReadable, useCopilotRuntimeClient, useDefaultRenderTool, useDefaultTool, useFrontendTool, useFrontendTools, useHumanInTheLoop, useInterrupt, useLangGraphInterrupt, useLazyToolRenderer, useLearnFromUserAction, useLearnFromUserActionInCurrentThread, useLearningContainers, useLearningContainersInCurrentThread, useLicenseContext, useMakeCopilotDocumentReadable, useMarkdownRenderer, useMemories, useRenderActivityMessage, useRenderCustomMessages, useRenderTool, useRenderToolCall, useSandboxFunctions, useSuggestions, useThreads, verifyEvents, withAuthoritativeActivityTypes, ɵALL_AGENT_UPDATES, type ɵActivityRendererFailureReason, type ɵActivityRendererLookup, type ɵActivityRendererQuery, type ɵActivityRenderersInput, type ɵAgentBindingInput, type ɵAgentContextInput, type ɵAgentResolveInput, ɵAgentResolver, type ɵAgentUpdateFlag, type ɵAssembledHumanInTheLoop, type ɵAssistantToolbarInput, ɵAttachmentQueue, ɵAudioRecorder, ɵAudioRecorderError, type ɵAudioRecorderState, type ɵAutoScrollMode, type ɵBranchNavInput, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, type ɵChatConfigurationOptions, type ɵChatConfigurationSnapshot, ɵChatConfigurationStore, type ɵChatConnectHooks, ɵChatConnection, type ɵChatConnectionHandle, type ɵChatConnectionOptions, type ɵChatConnectionSnapshot, type ɵChatErrorEvent, type ɵChatNotice, type ɵChatRunScope, ɵChatSubmitter, type ɵChatSubmitterOptions, type ɵChatSubmitterSnapshot, type ɵChatViewStateInput, type ɵClassValue, type ɵClipboardItem, type ɵCommandMenuItem, ɵComposerAutosize, type ɵComposerAutosizeOptions, ɵComposerController, type ɵComposerControllerInputs, type ɵComposerControllerOptions, type ɵComposerElements, type ɵComposerInput, type ɵComposerKeyAction, type ɵComposerKeyDownResult, type ɵComposerKeyEvent, type ɵComposerLayout, type ɵComposerMode, type ɵComposerSnapshot, type ɵConnectionWaitResult, type ɵCopilotKitCoreConfigPatch, type ɵCopilotKitFeature, type ɵCopilotKitLearningOptions, type ɵCopilotKitProviderBaseOptions, ɵCopyFeedback, type ɵCustomMessageRunSource, type ɵDefaultToolCallRenderProps, type ɵDialogFocusOptions, ɵDockedSidebar, type ɵDockedSidebarPlacement, ɵDockedSidebarRegistry, type ɵDockedSidebarState, type ɵDockedSidebarTransition, type ɵDrawerThread, type ɵElementHeightState, ɵExitPresence, type ɵExitPresenceState, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, type ɵFeedbackCommentControllerOptions, type ɵFeedbackCommentState, type ɵFeedbackCommentVia, type ɵFeedbackKeyEvent, type ɵFeedbackThumb, type ɵFeedbackThumbAttributes, type ɵFeedbackThumbHandlers, ɵFreshThreadId, type ɵFrontendToolRenderer, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, type ɵGenerativeUIDebugFunction, type ɵGenerativeUIDebugPromptSection, type ɵGenerativeUIDebugRun, type ɵGenerativeUIDebugSnapshot, type ɵGenerativeUIDebugSource, type ɵGenerativeUIDebugSurface, type ɵGenerativeUIDefault, type ɵGenerativeUIDefaultInput, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, type ɵHoverMenuState, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, type ɵInspectorKiteArtwork, type ɵInspectorKiteGradient, type ɵInspectorKitePath, type ɵInspectorKiteStop, ɵInspectorThreadOverride, type ɵInspectorThreadOverrideInput, type ɵInspectorThreadOverrideSnapshot, ɵInterruptController, type ɵInterruptControllerOptions, type ɵInterruptDecision, type ɵInterruptEvent, ɵInterruptExpiredError, type ɵInterruptRunner, type ɵInterruptSnapshot, ɵInterruptState, type ɵInterruptToolResult, type ɵJsonSerializable, ɵKEYBOARD_OPEN_THRESHOLD_PX, type ɵKeyboardState, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, type ɵLastUserMessageState, type ɵLearnFromUserActionFields, ɵLearningAutoStarter, type ɵLicenseBannerDetails, type ɵLicenseBannerSeverity, type ɵLicenseBannerSpec, type ɵLicenseBannerType, type ɵLicenseStateInput, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMOBILE_MAX_WIDTH_QUERY, type ɵMcpFollowUpHost, type ɵMemoryEnvironment, type ɵMemoryMetadataEvent, type ɵMemoryRuntimeContext, type ɵMemoryState, type ɵMemoryStore, type ɵMessageFeedback, type ɵMessageFeedbackControls, type ɵMessageFeedbackRating, type ɵMessageFeedbackScope, type ɵMessageViewInput, ɵMessageViewModel, type ɵModeRecorder, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, type ɵOpenGenerativeUIControllerOptions, type ɵOpenGenerativeUIPhase, type ɵOpenGenerativeUISandboxFunction, type ɵOpenGenerativeUISchema, type ɵOpenGenerativeUIState, type ɵOpenThreadRegistry, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, ɵPOPUP_DEFAULT_HEIGHT, ɵPOPUP_DEFAULT_WIDTH, type ɵPendingInterrupt, type ɵPhoenixChannelLike, type ɵPhoenixChannelOptions, type ɵPhoenixChannelParams, type ɵPhoenixChannelSession, type ɵPhoenixJoinOutcome, type ɵPhoenixPushLike, type ɵPhoenixSocketLike, type ɵPhoenixSocketOptions, type ɵPhoenixSocketSession, type ɵPhoenixSocketSignal, type ɵPinMessageToTopOptions, ɵPlaceholderCycler, type ɵPlaceholderCyclerSnapshot, type ɵPopupDismissOptions, type ɵProviderConfigDiagnostic, type ɵProviderConfigDiagnosticCode, type ɵProviderConfigInput, type ɵProviderFrontendTool, type ɵProviderHumanInTheLoop, type ɵProviderRegistryInput, type ɵProviderToolRenderer, ɵRESIZE_SETTLE_MS, ɵRUNTIME_PROBE_TIMEOUT_MS, type ɵRawToolCallRenderProps, ɵReasoningDisclosure, type ɵReasoningDisclosureOptions, type ɵReasoningDisclosureState, type ɵReasoningDuration, type ɵRecordAnnotationArgs, type ɵRecordAnnotationResult, type ɵRendererKind, ɵRendererRegistry, type ɵRendererRegistryInit, type ɵReportProviderConfigDiagnosticsOptions, type ɵResolvedProviderConfig, type ɵRunnableCommand, type ɵRuntimeInfo, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSIDEBAR_DEFAULT_WIDTH, ɵSIDEBAR_TRANSITION_MS, ɵSTABLE_ARRAY_WARNINGS, type ɵSandboxFunctionHandle, type ɵSandboxLocalApi, type ɵSidebarPosition, type ɵSlashKeyResult, type ɵSlashMenuState, type ɵStableArrayProp, type ɵStaticSuggestionInput, ɵStickToBottom, type ɵStickToBottomOptions, type ɵSuggestionsBinding, type ɵSuggestionsBindingOptions, type ɵSuggestionsConfigInput, ɵTAB_STOP_SELECTOR, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, type ɵTextareaMetrics, type ɵThread, type ɵThreadBaselineResetOptions, type ɵThreadEnvironment, type ɵThreadMetadataEvent, type ɵThreadRuntimeContext, ɵThreadSelection, type ɵThreadSelectionInput, type ɵThreadSelectors, type ɵThreadStore, type ɵThreadSummary, ɵThreadSwitchCoordinator, ɵThreadsController, type ɵThreadsCore, type ɵThreadsDrawerCallbacks, type ɵThreadsDrawerConfig, type ɵThreadsDrawerThreads, type ɵThreadsInput, type ɵThreadsSnapshot, type ɵToolCallCardStatus, type ɵToolCallDisplayContextValue, type ɵToolCallGroupAppearance, type ɵToolCallLayout, type ɵToolCallRendererNames, type ɵToolCallRendererNamesOptions, type ɵToolCallRowStatus, type ɵToolCallSegment, type ɵToolRendererShape, type ɵToolsMenuDisplayEntry, type ɵTranscriptionCore, type ɵTranscriptionErrorLabelKey, type ɵTurnOpenState, type ɵTurnWork, type ɵUserMessageMediaPart, type ɵWebsandboxConstructor, type ɵWebsandboxInstance, type ɵWebsandboxLoader, type ɵWorkSummaryInput, type ɵWorkTime, ɵadaptDefaultToolCallRenderProps, ɵaddOpenGenerativeUIContexts, ɵagentUpdateHandlers, ɵappendTranscript, ɵassembleActivityRenderers, ɵassembleHumanInTheLoop, ɵassembleProviderRegistry, ɵassembleProviderToolRenderers, ɵassembleProviderTools, ɵbindDialogFocus, ɵbindPopupDismiss, ɵbindSuggestionsConfig, ɵbuildHumanInTheLoopTool, ɵbuildLearnFromUserActionPayload, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵcheckRemovedProviderProps, ɵcheckToolParameters, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomposerButtonState, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcreateChatSubmitter, ɵcreateComposerAutosize, ɵcreateDockedSidebar, ɵcreateExitPresence, ɵcreateLastUserMessageTracker, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateObjectUrlFromSource, ɵcreateOpenGenerativeUITool, ɵcreateStickToBottom, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadsDrawerActions, ɵcreateWaveformRenderer, ɵdecodeTextSource, ɵdeduplicateMessages, ɵdescribeActivityRendererFailure, ɵdescribeUnrenderedToolCalls, ɵdimensionToCss, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵflattenToolsMenuForDisplay, ɵflattenUserMessageContent, ɵformatCountLabel, ɵformatLabel, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatWorkDuration, ɵgetAgentCapabilities, ɵgetAgentInterruptState, ɵgetAgentResolver, ɵgetArgumentPreview, ɵgetBranchNavState, ɵgetChatViewState, ɵgetCustomMessageRenderProps, ɵgetInlineFeatureWarningSpec, ɵgetLastUserMessageId, ɵgetLatestTurnKey, ɵgetLicenseBannerSpec, ɵgetMessageFeedback, ɵgetMessageFeedbackControls, ɵgetMessageRunStateSnapshot, ɵgetReasoningHeaderLabel, ɵgetThreadsDrawerElementProps, ɵgetToolCallBadge, ɵgetToolCallGroupState, ɵgetToolCallLayouts, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaParts, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵhasAssistantMessageText, ɵhitlRenderProps, ɵimplementsConnect, ɵinitialKeyboardState, ɵinspectorKiteFill, ɵinspectorKiteIcon, ɵinspectorShortcuts, ɵisContentPart, ɵisContentScrolledToBottom, ɵisCopilotKitFeature, ɵisFocusVisible, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisOwnFeedbackThumb, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmorphViewTransition, ɵnextSlashIndex, ɵnextTabStop, ɵnormalizeAutoScroll, ɵnormalizeToolCallStatus, ɵnormalizeToolsMenu, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordWorkTime, ɵregisterFrontendTools, ɵreportProviderConfigDiagnostics, ɵreserveLicenseBannerOffset, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentThreadId, ɵresolveChatNotice, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderers, ɵresolveGenerativeUIDefault, ɵresolveLicenseState, ɵresolveProviderConfig, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveToolCallAgentId, ɵresolveToolCallRenderer, ɵrmsAmplitude, ɵrunMcpFollowUp, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵselectMemories, ɵselectMemoriesAvailable, ɵselectMemoriesError, ɵselectMemoriesIsLoading, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectThreads, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵserializeContextValue, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵshouldShowMessageCursor, ɵshowsComposerDisclaimer, ɵsnapshotAgentState, ɵstableArrayPropWarning, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallPayload, ɵsubscribeToAgentErrors, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentUpdates, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToMessageFeedback, ɵsyncRecorderToMode, ɵthreadAdapterEvents, ɵtoDefaultToolCallStatus, ɵtoDrawerThread, ɵtoLearningConfig, ɵtoolCallAppearance, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵwaitForActiveRun, ɵwatchElementHeight, ɵwatchElementWidth, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults };
3093
3093
  //# sourceMappingURL=index.d.cts.map