import { IEvents } from '../interfaces'; export default function get_emit(events: IEvents, fire: (action: string, ...args: any[]) => Promise): (type: string, ...args: any[]) => Promise;