/** * This interface is supposed to be overriden by the library that we want to use the event emitter of. * * It could be an implementation using node.js, or by using the default browser behaviour and so on. */ export declare class Emitter { static new(...args: any[]): Promise; addEventListener(groupId: string, eventName: string, callback: (...args: any) => any): Promise; removeEventListener(groupId: string, eventName: string, callback: (...args: any) => any): Promise; emit(groupId: string, eventName: string, ...data: any): Promise; } //# sourceMappingURL=index.d.ts.map