export default class Subscribe { map: Map void)[]>; constructor(); on void>(type: T, event: F): void; once void>(type: T, event: F): void; off void>(type: T, event: F): void; emit void>(type: T, args?: Parameters): void; }