import { AutomationEvent } from 'apps/companion/main/automation/application/ports/AutomationEventPublisherPort';

export type LifecycleCallback = (event: AutomationEvent) => Promise<void> | void;

export interface IAutomationLifecycleEmitter {
  onLifecycle(cb: LifecycleCallback): void;
  offLifecycle(cb: LifecycleCallback): void;
}