import { JSX } from 'solid-js'; import type { AgUiClient, AttachmentDoc } from '../types'; import { AgUiStore } from '../store/createAgUiStore'; export interface ChatProviderProps { client: AgUiClient; upload?: (files: File[]) => Promise; sessionId?: string; initialConversationId?: string; children: JSX.Element; } export interface ChatContextValue extends AgUiStore { client: AgUiClient; upload?: (files: File[]) => Promise; sessionId?: string; initialConversationId?: string; on: AgUiClient['on']; off: AgUiClient['off']; } export declare function ChatProvider(props: ChatProviderProps): JSX.Element; export declare function useChatContext(): ChatContextValue; //# sourceMappingURL=ChatProvider.d.ts.map