@@ -7,13 +7,11 @@ import type {ProductSelectionProps} from 'sentry/components/onboarding/productSe
7
7
import type SidebarItem from 'sentry/components/sidebar/sidebarItem' ;
8
8
import type DateRange from 'sentry/components/timeRangeSelector/dateRange' ;
9
9
import type SelectorItems from 'sentry/components/timeRangeSelector/selectorItems' ;
10
- import type { UseExperiment } from 'sentry/utils/useExperiment' ;
11
10
import type { TitleableModuleNames } from 'sentry/views/insights/common/components/modulePageProviders' ;
12
11
import type { OrganizationStatsProps } from 'sentry/views/organizationStats' ;
13
12
import type { RouteAnalyticsContext } from 'sentry/views/routeAnalyticsContextProvider' ;
14
13
import type { NavigationItem , NavigationSection } from 'sentry/views/settings/types' ;
15
14
16
- import type { ExperimentKey } from './experiments' ;
17
15
import type { Integration , IntegrationProvider } from './integrations' ;
18
16
import type {
19
17
Route ,
@@ -217,7 +215,6 @@ type CustomizationHooks = {
217
215
*/
218
216
type AnalyticsHooks = {
219
217
'analytics:init-user' : AnalyticsInitUser ;
220
- 'analytics:log-experiment' : AnalyticsLogExperiment ;
221
218
'analytics:raw-track-event' : AnalyticsRawTrackEvent ;
222
219
'metrics:event' : MetricsEvent ;
223
220
} ;
@@ -319,7 +316,6 @@ type ReactHooks = {
319
316
props : RouteContextInterface
320
317
) => React . ContextType < typeof RouteAnalyticsContext > ;
321
318
'react-hook:use-button-tracking' : ( props : ButtonProps ) => ( ) => void ;
322
- 'react-hook:use-experiment' : UseExperiment ;
323
319
'react-hook:use-get-max-retention-days' : ( ) => number | undefined ;
324
320
} ;
325
321
@@ -437,20 +433,6 @@ type AnalyticsRawTrackEvent = (
437
433
}
438
434
) => void ;
439
435
440
- /**
441
- * Trigger experiment observed logging.
442
- */
443
- type AnalyticsLogExperiment = ( opts : {
444
- /**
445
- * The experiment key
446
- */
447
- key : ExperimentKey ;
448
- /**
449
- * The organization. Must be provided for organization experiments.
450
- */
451
- organization ?: Organization ;
452
- } ) => void ;
453
-
454
436
/**
455
437
* Trigger recording a metric in the hook store.
456
438
*/
0 commit comments