declare type ErrorListener = (e?: Error) => void;
declare class ErrorEmitter {
    private listeners;
    emit(error?: any): void;
    addErrorListener(listener: ErrorListener): void;
    removeErrorListener(listener: ErrorListener): void;
}
export declare const errorEmitter: ErrorEmitter;
export {};
//# sourceMappingURL=error-emitter.d.ts.map