interface UseSentryPerformanceTrackingProps { componentName: string; enabled?: boolean; } /** * Sentry Performance Tracking Hook * * This hook provides automatic performance monitoring for React components using Sentry. * It tracks the time it takes for a component to render and sends performance data to Sentry * for monitoring and analysis. * * Comments in this hook are on purpose to help understand the execution flow. * * * FEATURES: * --------- * - Automatically starts a performance span when component mounts * - Tracks render time relative to the root span * - Adds custom attributes for better debugging * - Automatically cleans up spans when component unmounts * - Uses a timeout mechanism to ensure proper span ending * */ export declare const useSentryPerformanceTracking: ({ componentName, enabled, }: UseSentryPerformanceTrackingProps) => void; export {};