import { Observable } from 'rxjs'; import { ErrorInfo } from './types'; import * as i0 from "@angular/core"; export declare class ErrorBoundaryService { private errorSubject; error$: Observable; /** * Report an error to the error boundary */ reportError(error: Error | string, context?: string): void; /** * Clear the current error */ clearError(): void; /** * Check if an error is retryable */ private isRetryableError; /** * Get current error */ getCurrentError(): ErrorInfo | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }