import { type EventType } from "mitt"; export type EventMap = Record; export type EventCallback = (...args: any[]) => void;