import { Ref } from 'vue'; import { ChatMessage } from './messages'; import { SendMessageResponse } from './webhook'; export interface Chat { initialMessages: Ref; messages: Ref; currentSessionId: Ref; waitingForResponse: Ref; agentThinkingtext?: Ref; initializing: Ref; loadPreviousSession?: () => Promise; startNewSession?: () => Promise; initializeChat?: () => Promise; sendMessage: (text: string, files?: File[]) => Promise; ws?: WebSocket | null; activeRequestSessionId: Ref; }