export default interface IOutputClass { new (data?: T): T & { emit(): void; }; emit(data: T): any; }