import React, { PropsWithChildren } from 'react';
export type ErrorSeverity = 'error' | 'warning' | 'info';
export type ExceptionReporter = (error: unknown, message?: string, severity?: ErrorSeverity) => void;
export declare const ErrorMonitorContext: React.Context<{
    captureException: ExceptionReporter;
}>;
export declare const ErrorMonitorContextProvider: ({ exceptionReporter, children, }: PropsWithChildren<{
    exceptionReporter: ExceptionReporter;
}>) => React.JSX.Element;
export declare const useErrorMonitor: () => {
    captureException: ExceptionReporter;
};
//# sourceMappingURL=ErrorMonitorContext.d.ts.map