import { Events, PreparedEvents } from '../config/definitions/parts/events'; import { AnyFunction } from '../utils/typeUtils'; export default class EventPreparer { static prepare(events?: Events): PreparedEvents; static prepareEvent(eventName: string, func: T | T[], errorEvent?: PreparedEvents['error']): (...args: Parameters) => Promise; }