import type { GenerateMCQOutput } from '@/ai/flows/generate-mcq'; export interface Journey { id: string; title: string; description: string; imageUrl: string; imageHint: string; // For data-ai-hint } // Defines the structure of the chatbot's active MCQ state, including original question text export type ActiveMCQ = GenerateMCQOutput & { originalQuestionTextForFlow?: string }; export interface ChatMessage { id: string; sender: 'user' | 'ai'; type: 'text' | 'mcq' | 'feedback' | 'error'; text?: string; mcq?: ActiveMCQ; // Use ActiveMCQ type here options?: string[]; // For user's answer display timestamp: Date; isCorrect?: boolean; // For feedback messages }