import React, { ErrorInfo } from 'react';
import { Hub } from '@sentry/core';
interface SentryHubContextType {
    hub: Hub | null;
    handleError?: (error: Error, errorInfo?: ErrorInfo) => void;
}
declare const SentryHubContext: React.Context<SentryHubContextType>;
export { SentryHubContext };
export declare const useSentry: () => {
    handleError?: ((error: Error, errorInfo?: ErrorInfo) => void) | undefined;
    hub: Hub | null;
};
export declare const useSentryHub: () => SentryHubContextType;
interface InkeepSentryProviderProps {
    onError?: (error: Error) => void;
    children: React.ReactNode;
}
declare const InkeepSentryProvider: React.FC<InkeepSentryProviderProps>;
export { InkeepSentryProvider };
