import { type TuiEventMap } from "https://deno.land/x/tui@1.3.4/src/tui.ts";
EventMap that {Tui} uses
definition: { render: EmitterEvent<[Timing]>; update: EmitterEvent<[]>; keyPress: EmitterEvent<[KeyPress]>; multiKeyPress: EmitterEvent<[MultiKeyPress]>; mousePress: EmitterEvent<[MousePress]>; dispatch: EmitterEvent<[]>; addComponent: EmitterEvent<[Component<EventRecord>]>; removeComponent: EmitterEvent<[Component<EventRecord>]>; }