import { ChatMessageText } from './messages'; export interface LoadPreviousSessionResponseItem { id: string[]; kwargs: { content: string; additional_kwargs: Record; }; lc: number; type: string; } export interface LoadPreviousSessionResponse { data: LoadPreviousSessionResponseItem[]; } export interface SendMessageResponse { output?: string; text?: string; message?: string | ChatMessageText; executionId?: string; executionStarted?: boolean; resumeToken?: string; hasReceivedChunks?: boolean; }