export type SignalingMessageType =
  | 'offer'
  | 'answer'
  | 'ice-candidate'
  | 'join'
  | 'leave'
  | 'chat'
  | 'state-sync'
  | 'kick'
  | 'ban'
  | 'host-change'
  | 'room-update';

export interface SignalingMessage {
  type: SignalingMessageType;
  from: string;
  to?: string;
  payload: unknown;
  timestamp: number;
}
