mirror of
https://github.com/luxfi/wc-core.git
synced 2026-10-30 15:12:42 +00:00
10 lines
477 B
TypeScript
10 lines
477 B
TypeScript
import { IInternalEvent, IJsonRpcResponseSuccess, IJsonRpcResponseError, IJsonRpcRequest, IEventEmitter } from "@luxwallet/wc-types";
|
|
declare class EventManager {
|
|
private _eventEmitters;
|
|
constructor();
|
|
subscribe(eventEmitter: IEventEmitter): void;
|
|
unsubscribe(event: string): void;
|
|
trigger(payload: IJsonRpcRequest | IJsonRpcResponseSuccess | IJsonRpcResponseError | IInternalEvent): void;
|
|
}
|
|
export default EventManager;
|
|
//# sourceMappingURL=events.d.ts.map
|