import { type ComponentEventMap } from "https://deno.land/x/tui@1.3.4/src/component.ts";
Default EventMap that every component should use
definition: { stateChange: EmitterEvent<[Component<EventRecord>]>; remove: EmitterEvent<[Component<EventRecord>]>; keyPress: EmitterEvent<[KeyPress]>; multiKeyPress: EmitterEvent<[MultiKeyPress]>; mousePress: EmitterEvent<[MousePress]>; }