/// <reference types="react" />
import { TrackingEventDetails } from '@sisense/sdk-tracking';
import { SisenseContextProviderProps } from '../../..';
import { type ClientApplication } from '../../app/types';
export type SisenseContextPayload = {
    isInitialized: boolean;
    app?: ClientApplication;
    tracking: {
        enabled: boolean;
        packageName: string;
        onTrackingEvent?: (payload: TrackingEventDetails) => void;
    };
    errorBoundary: {
        showErrorBox: boolean;
        onError?: SisenseContextProviderProps['onError'];
    };
};
export declare const SisenseContext: import("react").Context<SisenseContextPayload>;
export declare const useSisenseContext: () => SisenseContextPayload;
