import { AISDKRuntimeAdapter, CustomToCreateMessageFunction } from "./useAISDKRuntime.js"; import { ChatInit } from "ai"; import { AssistantRuntime, ExternalStoreSharedOptions } from "@assistant-ui/core"; import { UIMessage as UIMessage$1 } from "@ai-sdk/react"; import { AssistantCloud } from "assistant-cloud"; //#region src/ui/use-chat/useChatRuntime.d.ts type UseChatRuntimeOptions = ChatInit & ExternalStoreSharedOptions & { cloud?: AssistantCloud | undefined; adapters?: AISDKRuntimeAdapter["adapters"] | undefined; toCreateMessage?: CustomToCreateMessageFunction; onResume?: AISDKRuntimeAdapter["onResume"]; joinStrategy?: AISDKRuntimeAdapter["joinStrategy"]; onThreadIdChange?: ((threadId: string | undefined) => void) | undefined; }; declare const useChatRuntime: ({ cloud, onThreadIdChange, ...options }?: UseChatRuntimeOptions) => AssistantRuntime; //#endregion export { UseChatRuntimeOptions, useChatRuntime }; //# sourceMappingURL=useChatRuntime.d.ts.map