export interface ApiResponse { updated_profile: UserProfile; updated_history: string[]; is_profile_complete: boolean; plan_recommendations?: PlanRecommendations | null; } export interface Plan { plan_name: string; plan_type: string; key_features: string[]; estimated_premium: string; reasoning: string; } export interface UserProfile { zip_code?: string; city?: string; state?: string; county?: string; age?: number; gender?: string; household_size?: number; income?: number; employment_status?: string; citizenship?: string; medical_history?: string | null; medications?: string | null; special_cases?: string | null; } export interface PlanRecommendations { recommendations: Plan[]; } export interface ChatMessage { role: 'user' | 'agent'; content: string; timestamp: number; plans?: Plan[]; }