export type AutomationEvent = {
  actionId?: string
  type: 'panel-attached'|'modal-opened'|'action-started'|'action-complete'|'action-failed'|'panel-missing'
  timestamp: number
  payload?: unknown
}

export interface IAutomationEventPublisher {
  publish(event: AutomationEvent): Promise<void>
}