/**
 */
interface SentryContext {
    sessionId?: string;
    apiKey?: string;
    widgetState?: string;
    componentName?: string;
    userId?: string;
    userEmail?: string;
    userMetadata?: any;
    handlerName?: string;
    lifecycle?: string;
    changedProperties?: string[];
    eventType?: string;
    eventData?: Record<string, any>;
    userJourney?: string[];
    [key: string]: any;
}
/**
 * @deprecated
 */
export declare function captureException(error: any, context?: SentryContext): void;
/**
 * @deprecated
 */
export declare function captureMessage(message: string, level?: "info" | "warning" | "error", context?: SentryContext): void;
export declare function trackEvent(eventType: string, eventData?: Record<string, any>, componentName?: string): void;
/**
 * @deprecated
 */
export declare function setGlobalContext(context: Partial<SentryContext>): void;
/**
 * Wraps an async function to automatically capture any exceptions
 * @deprecated Use your own try/catch and `getErrorCollector().captureError(...)` instead.
 */
export declare function withSentryAsyncHandler<T extends (...args: any[]) => Promise<any>>(fn: T, handlerName: string, componentName?: string): T;
/**
 * Wraps a synchronous function to automatically capture any exceptions
 * @deprecated Use your own try/catch and `getErrorCollector().captureError(...)` instead.
 */
export declare function withSentryHandler<T extends (...args: any[]) => any>(fn: T, handlerName: string, componentName?: string): T;
/**
 * Simple wrapper to add Sentry error tracking to component lifecycle methods
 * Use this in your component's connectedCallback, disconnectedCallback, etc.
 * @deprecated Use the collector directly.
 */
export declare function withComponentErrorTracking(componentName: string): {
    trackLifecycle: (lifecycleMethod: string, fn: () => void) => void;
    trackRender: (renderFn: () => any) => any;
    setContext: () => void;
};
export { captureException as default };
export type { SentryContext };
