import { ErrorHandler, InjectionToken } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import * as i0 from "@angular/core"; export interface ErrorInterface { name: string; message: string; stack: string; } export interface NgErrorConfig { zIndex: number; ignoreErrors: string[]; } export declare const NG_ERROR_CONFIG_TOKEN: InjectionToken; export declare class ErrorHandlerService implements ErrorHandler { readonly config: NgErrorConfig; error$: BehaviorSubject; constructor(config: NgErrorConfig); handleError(error: Error): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }