import { Nullable } from '../../../../types/general';
import { VegaEventID } from '../../event-id/vega-event-id';
import { EventSemantics } from '../../internal-vega-event-manager';
export interface EventEmitHandler {
  canHandle: (eventSemantics: EventSemantics, eventID?: VegaEventID) => boolean;
  handle: <T>(detail: T, e?: Event) => Nullable<Event>;
}
