import { AutomationEvent } from './AutomationEventPublisherPort';

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

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