export interface User { id: string; name: string; group_id: string; } export interface LoginResponse { token?: string; id?: string; error?: string; } export interface RegisterResponse { success: boolean; id?: string; error?: string; } export interface Message { sender_id: string; receiver_id: string; message: string; timestamp: number | string; } export interface SendMessageResponse { success: boolean; }