import { OpenHandsObservation } from "./types/core/observations";
import { OpenHandsAction } from "./types/core/actions";

export type Message = {
  sender: "user" | "assistant";
  content: string;
  timestamp: string;
  imageUrls?: string[];
  type?: "thought" | "error" | "action";
  success?: boolean;
  pending?: boolean;
  translationID?: string;
  eventID?: number;
  observation?: { payload: OpenHandsObservation };
  action?: { payload: OpenHandsAction };
};
