/** A single poll option that users can vote on */
export interface PollOption {
  id: string;
  text: string;
  votes: string[]; // Array of peer IDs
}

/** The shared poll document stored in Automerge */
export interface Poll {
  title: string;
  options: PollOption[];
}
