import type { ComputedRef, InjectionKey, Ref, ShallowRef } from "vue"; import type { CopilotKitCoreVue } from "../lib/vue-core"; import type { CopilotChatConfigurationValue } from "./types"; import type { A2UITheme } from "../types"; import type { SandboxFunction } from "../types"; export interface CopilotKitContextValue { copilotkit: ShallowRef; executingToolCallIds: Ref>; a2uiTheme: ComputedRef; a2uiCatalog: ComputedRef; a2uiLoadingComponent: ComputedRef; a2uiIncludeSchema: ComputedRef; } export const CopilotKitKey: InjectionKey = Symbol("CopilotKit"); export const CopilotChatConfigurationKey: InjectionKey< ComputedRef > = Symbol("CopilotChatConfiguration"); export const SandboxFunctionsKey: InjectionKey< Ref > = Symbol("SandboxFunctions");