export interface Agent {
  id: string;
  name: string;
  description?: string;
  icon: string;
}

export interface Message {
  id: string;
  content: string;
  sender: 'user' | 'agent';
  timestamp: Date;
  files?: AttachedFile[];
}

export interface AttachedFile {
  file: File;
  id: string;
  preview?: string;
  url?: string;
}


export interface Conversation {
  id: string;
  title: string;
  messages: Message[];
  agentId: string;
  createdAt: Date;
  updatedAt: Date;
}

export interface Project {
  id: string;
  name: string;
  conversations: Conversation[];
  expanded?: boolean;
}
