import type { KeplrEWalletEventTypeMap } from "../types";
export declare class EventEmitter2 {
    listeners: {
        [type: string]: Function[];
    };
    constructor();
    on<T extends keyof KeplrEWalletEventTypeMap>(eventName: T, listener: (event: CustomEvent<KeplrEWalletEventTypeMap[T]>) => void): void;
    emit<T extends keyof KeplrEWalletEventTypeMap>(eventName: T, ...args: any): void;
}
