import { ActorEvent } from '../types/actor-event.type'; import { ActorRef } from './actor-ref.interface'; export interface EventCreator { (payload: T, sender?: ActorRef): ActorEvent; type: string; }