export interface RecordEvent {
  id: string;
  type: 'mouse' | 'scroll' | 'wait';
  interactionType?: 'click' | 'hover';
  selector?: string; // CSS selector
  timestamp: number; // Time in ms since start of recording
  duration: number; // Duration allocated for this action in playback
  zoom?: number; // Zoom level during event
  description?: string; // Optional label
  motionBlur?: boolean; // Enable motion blur effect
  rect?: { x: number; y: number; width: number; height: number }; // Element position for rendering
  clickOrigin?: 'center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
  realClick?: boolean; // Trigger real browser action (navigation)
}

export interface RecordingSession {
  id: string;
  name: string;
  events: RecordEvent[];
  createdAt: string;
}
