import { EventType, Emitter } from 'mitt'; type AnyEvents = Record; export type Mitt = Omit, 'all'> & { once: Emitter['on']; } & { off(...args: Parameters['off']>): void; off(): void; }; declare const createMitt: () => Mitt; export default createMitt; //# sourceMappingURL=index.d.ts.map