/**
 * ErrorReporterScope are additional information that
 * can be sent with the errors.
 */ export interface ErrorReporterScope { componentStack ? : string ; } /**
 * ErrorReport is the report to be provided by the error reporter when an error
 * is reported.
 */ export interface ErrorReport { /**
     * name is used to identify the specific error reporter that captured the
     * report.
     */ name : string ; /**
     * id is identifier sent by the error reporter associated with this error
     * report.
     */ id : string ; } export interface User { id ? : string ; username ? : string | null ; role ? : string ; } export interface ErrorReporter { param err report ( err , scope ? ) : ErrorReport ; param user setUser ( user ) : void ; /**
     * ErrorBoundary is the optional component that this reporter provides to catch
     * and display errors to the user.
     */ readonly ErrorBoundary ? : React . ComponentType ; }