import { ErrorHandler } from '@angular/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class GlobalErrorHandler implements ErrorHandler {
    private logSubject;
    private logSubscription;
    constructor();
    handleError(error: any): void;
    actualHandleError(error: any): Observable<void>;
    private handleJavascriptError;
    private submitDiagnostic;
    static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorHandler, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<GlobalErrorHandler>;
}
