import { Conversation, ConversationStore } from './conversationState'; import type { AiChatItem } from './types'; export type AiConversationStore = ConversationStore; /** Provided by UdpAiProvider; null when a surface is used without one. */ export declare const ConversationStoreContext: import("react").Context; export declare const useConversationStore: () => AiConversationStore; /** * The conversation a surface should drive. With an id and a store in scope, * the same Conversation comes back for that id across remounts and from any * surface — a docked panel that collapses keeps its chat, a tab list can show * it. Without an id (or without a provider) the conversation is private to * this mount. */ export declare const useConversation: (id?: string) => Conversation; /** Every conversation in the store, live — for a chat list or tab strip. */ export declare const useConversations: () => readonly Conversation[]; //# sourceMappingURL=useConversation.d.ts.map