@atlaskit/tmp-editor-statsig 9.26.0 → 9.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,87 +7,7 @@ export type EditorExperimentParamOverrides = {
7
7
  [paramName: string]: any;
8
8
  };
9
9
  };
10
- export declare let _overrides: Partial<{
11
- platform_editor_reduce_noisy_steps_ncs: boolean;
12
- platform_editor_memoized_node_check: boolean;
13
- platform_editor_media_card_vc_wrapper_attribute: boolean;
14
- editor_prevent_numbered_column_too_big_jira_1: boolean;
15
- platform_editor_block_control_optimise_render: boolean;
16
- 'example-boolean': boolean;
17
- 'example-multivariate': "one" | "two" | "three";
18
- 'test-new-experiments-package': boolean;
19
- support_table_in_comment: boolean;
20
- platform_editor_exp_lazy_node_views: boolean;
21
- platform_renderer_table_sticky_scrollbar: boolean;
22
- platform_editor_controls_performance_fixes: boolean;
23
- platform_editor_prevent_toolbar_layout_shifts: boolean;
24
- comment_on_bodied_extensions: boolean;
25
- advanced_layouts: boolean;
26
- single_column_layouts: boolean;
27
- support_table_in_comment_jira: boolean;
28
- 'platform_editor_ai-prompts-placeholder': "test" | "control";
29
- 'nested-tables-in-tables': boolean;
30
- platform_editor_ai_unsplash_page_header: boolean;
31
- platform_editor_blockquote_in_text_formatting_menu: boolean;
32
- platform_editor_advanced_code_blocks: boolean;
33
- platform_editor_element_drag_and_drop_multiselect: boolean;
34
- platform_editor_ai_edit_response_in_preview: boolean;
35
- platform_editor_controls: "control" | "variant1";
36
- platform_editor_controls_block_controls_state_fix: boolean;
37
- platform_editor_smart_link_cmd_ctrl_click: boolean;
38
- platform_editor_insertion: "control" | "variant1";
39
- platform_editor_vanilla_dom: boolean;
40
- platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
41
- platform_editor_offline_editing_web: boolean;
42
- editor_ai_inline_suggestion_date_v2: "test" | "control";
43
- platform_editor_tables_drag_and_drop: boolean;
44
- platform_editor_tables_table_selector: boolean;
45
- platform_editor_usesharedpluginstateselector: boolean;
46
- platform_editor_usesharedpluginstatewithselector: boolean;
47
- platform_editor_media_floating_toolbar_early_exit: boolean;
48
- platform_renderer_fix_analytics_memo_callback: boolean;
49
- platform_editor_stop_width_reflows: boolean;
50
- platform_editor_core_static_emotion: boolean;
51
- platform_editor_core_static_emotion_non_central: boolean;
52
- platform_editor_no_cursor_on_edit_page_init: boolean;
53
- 'jira-work-sync-desc-comment-summary': boolean;
54
- platform_editor_nodevisibility: boolean;
55
- platform_editor_breakout_resizing: boolean;
56
- platform_editor_ai_quickstart_command: boolean;
57
- platform_editor_toolbar_rerender_optimization_exp: boolean;
58
- platform_editor_block_controls_perf_optimization: boolean;
59
- platform_editor_enable_single_player_step_merging: boolean;
60
- platform_editor_ai_iw_adf_streaming: boolean;
61
- platform_editor_ai_ct_sg_adf_streaming: boolean;
62
- platform_editor_ai_remove_trivial_prompts_cc: boolean;
63
- platform_editor_extension_styles: boolean;
64
- confluence_whiteboards_quick_insert_aa: "control" | "test_blank" | "test_diagram";
65
- platform_editor_find_and_replace_improvements: boolean;
66
- confluence_whiteboards_quick_insert: "control" | "test_blank" | "test_diagram";
67
- cc_editor_ufo_hold_table_till_resize_complete: boolean;
68
- platform_editor_feedback_mandatory_rating: boolean;
69
- platform_editor_drag_handle_aria_label: boolean;
70
- platform_editor_toggle_expand_on_match_found: boolean;
71
- platform_editor_smart_card_otp: boolean;
72
- platform_editor_preview_panel_responsiveness: boolean;
73
- platform_editor_block_menu: boolean;
74
- platform_editor_renderer_breakout_fix: boolean;
75
- editor_enghealth_hyperlink_toolbar_aria_values: boolean;
76
- cc_editor_interactions_trigger_traceufointeraction: "control" | "all_events" | "only_mousedown_event";
77
- platform_editor_add_orange_highlight_color: "test" | "control";
78
- platform_editor_toolbar_aifc: boolean;
79
- platform_editor_floating_toolbar_button_aria_label: boolean;
80
- platform_editor_enghealth_table_plugin_lable_rule: boolean;
81
- platform_editor_create_link_on_blur: boolean;
82
- cc_comments_include_path_for_renderer_emojis: boolean;
83
- platform_editor_breakout_interaction_rerender: boolean;
84
- platform_editor_pasting_nested_table_fix: boolean;
85
- platform_editor_fix_quick_insert_consistency_exp: boolean;
86
- platform_editor_fix_a11y_aria_posinset_0: boolean;
87
- platform_editor_blocktaskitem_node: boolean;
88
- platform_editor_tables_scaling_css: boolean;
89
- platform_editor_august_a11y: boolean;
90
- }>;
10
+ export declare let _overrides: EditorExperimentOverrides;
91
11
  export declare let _paramOverrides: EditorExperimentParamOverrides;
92
12
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
93
13
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="jest" />
2
1
  import { type EditorExperimentOverrides } from './setup';
3
2
  import { type EditorExperimentsConfig } from './experiments-config';
4
3
  type DescribeBody = Parameters<typeof describe>[1];
@@ -45,494 +44,9 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
44
  false: DescribeBody;
46
45
  }, otherExperiments?: EditorExperimentOverrides): void;
47
46
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "platform_editor_media_card_vc_wrapper_attribute" | "editor_prevent_numbered_column_too_big_jira_1" | "platform_editor_block_control_optimise_render" | "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_controls_performance_fixes" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_block_controls_state_fix" | "platform_editor_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_editor_usesharedpluginstatewithselector" | "platform_editor_media_floating_toolbar_early_exit" | "platform_renderer_fix_analytics_memo_callback" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "platform_editor_core_static_emotion_non_central" | "platform_editor_no_cursor_on_edit_page_init" | "jira-work-sync-desc-comment-summary" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_block_controls_perf_optimization" | "platform_editor_enable_single_player_step_merging" | "platform_editor_ai_iw_adf_streaming" | "platform_editor_ai_ct_sg_adf_streaming" | "platform_editor_ai_remove_trivial_prompts_cc" | "platform_editor_extension_styles" | "confluence_whiteboards_quick_insert_aa" | "platform_editor_find_and_replace_improvements" | "confluence_whiteboards_quick_insert" | "cc_editor_ufo_hold_table_till_resize_complete" | "platform_editor_feedback_mandatory_rating" | "platform_editor_drag_handle_aria_label" | "platform_editor_toggle_expand_on_match_found" | "platform_editor_smart_card_otp" | "platform_editor_preview_panel_responsiveness" | "platform_editor_block_menu" | "platform_editor_renderer_breakout_fix" | "editor_enghealth_hyperlink_toolbar_aria_values" | "cc_editor_interactions_trigger_traceufointeraction" | "platform_editor_add_orange_highlight_color" | "platform_editor_toolbar_aifc" | "platform_editor_floating_toolbar_button_aria_label" | "platform_editor_enghealth_table_plugin_lable_rule" | "platform_editor_create_link_on_blur" | "cc_comments_include_path_for_renderer_emojis" | "platform_editor_breakout_interaction_rerender" | "platform_editor_pasting_nested_table_fix" | "platform_editor_fix_quick_insert_consistency_exp" | "platform_editor_fix_a11y_aria_posinset_0" | "platform_editor_blocktaskitem_node" | "platform_editor_tables_scaling_css" | "platform_editor_august_a11y">(experimentName: ExperimentName, describeName: string) => {
49
- variant: (value: {
50
- platform_editor_reduce_noisy_steps_ncs: {
51
- typeGuard: typeof import("./type-guards").isBoolean;
52
- defaultValue: boolean;
53
- productKeys?: import("./types").ProductKeys | undefined;
54
- param: string;
55
- };
56
- platform_editor_memoized_node_check: {
57
- typeGuard: typeof import("./type-guards").isBoolean;
58
- defaultValue: boolean;
59
- productKeys?: import("./types").ProductKeys | undefined;
60
- param: string;
61
- };
62
- platform_editor_media_card_vc_wrapper_attribute: {
63
- typeGuard: typeof import("./type-guards").isBoolean;
64
- defaultValue: boolean;
65
- productKeys?: import("./types").ProductKeys | undefined;
66
- param: string;
67
- };
68
- editor_prevent_numbered_column_too_big_jira_1: {
69
- typeGuard: typeof import("./type-guards").isBoolean;
70
- defaultValue: boolean;
71
- productKeys?: import("./types").ProductKeys | undefined;
72
- param: string;
73
- };
74
- platform_editor_block_control_optimise_render: {
75
- typeGuard: typeof import("./type-guards").isBoolean;
76
- defaultValue: boolean;
77
- productKeys?: import("./types").ProductKeys | undefined;
78
- param: string;
79
- };
80
- 'example-boolean': {
81
- typeGuard: typeof import("./type-guards").isBoolean;
82
- defaultValue: boolean;
83
- productKeys?: import("./types").ProductKeys | undefined;
84
- param: string;
85
- };
86
- 'example-multivariate': {
87
- values: ("one" | "two" | "three")[];
88
- typeGuard: (value: unknown) => value is "one" | "two" | "three";
89
- defaultValue: "one" | "two" | "three";
90
- productKeys?: import("./types").ProductKeys | undefined;
91
- param: string;
92
- };
93
- 'test-new-experiments-package': {
94
- typeGuard: typeof import("./type-guards").isBoolean;
95
- defaultValue: boolean;
96
- productKeys?: import("./types").ProductKeys | undefined;
97
- param: string;
98
- };
99
- support_table_in_comment: {
100
- typeGuard: typeof import("./type-guards").isBoolean;
101
- defaultValue: boolean;
102
- productKeys?: import("./types").ProductKeys | undefined;
103
- param: string;
104
- };
105
- platform_editor_exp_lazy_node_views: {
106
- typeGuard: typeof import("./type-guards").isBoolean;
107
- defaultValue: boolean;
108
- productKeys?: import("./types").ProductKeys | undefined;
109
- param: string;
110
- };
111
- platform_renderer_table_sticky_scrollbar: {
112
- typeGuard: typeof import("./type-guards").isBoolean;
113
- defaultValue: boolean;
114
- productKeys?: import("./types").ProductKeys | undefined;
115
- param: string;
116
- };
117
- platform_editor_controls_performance_fixes: {
118
- typeGuard: typeof import("./type-guards").isBoolean;
119
- defaultValue: boolean;
120
- productKeys?: import("./types").ProductKeys | undefined;
121
- param: string;
122
- };
123
- platform_editor_prevent_toolbar_layout_shifts: {
124
- typeGuard: typeof import("./type-guards").isBoolean;
125
- defaultValue: boolean;
126
- productKeys?: import("./types").ProductKeys | undefined;
127
- param: string;
128
- };
129
- comment_on_bodied_extensions: {
130
- typeGuard: typeof import("./type-guards").isBoolean;
131
- defaultValue: boolean;
132
- productKeys?: import("./types").ProductKeys | undefined;
133
- param: string;
134
- };
135
- advanced_layouts: {
136
- typeGuard: typeof import("./type-guards").isBoolean;
137
- defaultValue: boolean;
138
- productKeys?: import("./types").ProductKeys | undefined;
139
- param: string;
140
- };
141
- single_column_layouts: {
142
- typeGuard: typeof import("./type-guards").isBoolean;
143
- defaultValue: boolean;
144
- productKeys?: import("./types").ProductKeys | undefined;
145
- param: string;
146
- };
147
- support_table_in_comment_jira: {
148
- typeGuard: typeof import("./type-guards").isBoolean;
149
- defaultValue: boolean;
150
- productKeys?: import("./types").ProductKeys | undefined;
151
- param: string;
152
- };
153
- 'platform_editor_ai-prompts-placeholder': {
154
- values: ("test" | "control")[];
155
- typeGuard: (value: unknown) => value is "test" | "control";
156
- defaultValue: "test" | "control";
157
- productKeys?: import("./types").ProductKeys | undefined;
158
- param: string;
159
- };
160
- 'nested-tables-in-tables': {
161
- typeGuard: typeof import("./type-guards").isBoolean;
162
- defaultValue: boolean;
163
- productKeys?: import("./types").ProductKeys | undefined;
164
- param: string;
165
- };
166
- platform_editor_ai_unsplash_page_header: {
167
- typeGuard: typeof import("./type-guards").isBoolean;
168
- defaultValue: boolean;
169
- productKeys?: import("./types").ProductKeys | undefined;
170
- param: string;
171
- };
172
- platform_editor_blockquote_in_text_formatting_menu: {
173
- typeGuard: typeof import("./type-guards").isBoolean;
174
- defaultValue: boolean;
175
- productKeys?: import("./types").ProductKeys | undefined;
176
- param: string;
177
- };
178
- platform_editor_advanced_code_blocks: {
179
- typeGuard: typeof import("./type-guards").isBoolean;
180
- defaultValue: boolean;
181
- productKeys?: import("./types").ProductKeys | undefined;
182
- param: string;
183
- };
184
- platform_editor_element_drag_and_drop_multiselect: {
185
- typeGuard: typeof import("./type-guards").isBoolean;
186
- defaultValue: boolean;
187
- productKeys?: import("./types").ProductKeys | undefined;
188
- param: string;
189
- };
190
- platform_editor_ai_edit_response_in_preview: {
191
- typeGuard: typeof import("./type-guards").isBoolean;
192
- defaultValue: boolean;
193
- productKeys?: import("./types").ProductKeys | undefined;
194
- param: string;
195
- };
196
- platform_editor_controls: {
197
- values: ("control" | "variant1")[];
198
- typeGuard: (value: unknown) => value is "control" | "variant1";
199
- defaultValue: "control" | "variant1";
200
- productKeys?: import("./types").ProductKeys | undefined;
201
- param: string;
202
- };
203
- platform_editor_controls_block_controls_state_fix: {
204
- typeGuard: typeof import("./type-guards").isBoolean;
205
- defaultValue: boolean;
206
- productKeys?: import("./types").ProductKeys | undefined;
207
- param: string;
208
- };
209
- platform_editor_smart_link_cmd_ctrl_click: {
210
- typeGuard: typeof import("./type-guards").isBoolean;
211
- defaultValue: boolean;
212
- productKeys?: import("./types").ProductKeys | undefined;
213
- param: string;
214
- };
215
- platform_editor_insertion: {
216
- values: ("control" | "variant1")[];
217
- typeGuard: (value: unknown) => value is "control" | "variant1";
218
- defaultValue: "control" | "variant1";
219
- productKeys?: import("./types").ProductKeys | undefined;
220
- param: string;
221
- };
222
- platform_editor_vanilla_dom: {
223
- typeGuard: typeof import("./type-guards").isBoolean;
224
- defaultValue: boolean;
225
- productKeys?: import("./types").ProductKeys | undefined;
226
- param: string;
227
- };
228
- platform_editor_ai_proactive_ai_nudge_parameters: {
229
- values: ("control" | "variant1")[];
230
- typeGuard: (value: unknown) => value is "control" | "variant1";
231
- defaultValue: "control" | "variant1";
232
- productKeys?: import("./types").ProductKeys | undefined;
233
- param: string;
234
- };
235
- platform_editor_offline_editing_web: {
236
- typeGuard: typeof import("./type-guards").isBoolean;
237
- defaultValue: boolean;
238
- productKeys?: import("./types").ProductKeys | undefined;
239
- param: string;
240
- };
241
- editor_ai_inline_suggestion_date_v2: {
242
- values: ("test" | "control")[];
243
- typeGuard: (value: unknown) => value is "test" | "control";
244
- defaultValue: "test" | "control";
245
- productKeys?: import("./types").ProductKeys | undefined;
246
- param: string;
247
- };
248
- platform_editor_tables_drag_and_drop: {
249
- typeGuard: typeof import("./type-guards").isBoolean;
250
- defaultValue: boolean;
251
- productKeys?: import("./types").ProductKeys | undefined;
252
- param: string;
253
- };
254
- platform_editor_tables_table_selector: {
255
- typeGuard: typeof import("./type-guards").isBoolean;
256
- defaultValue: boolean;
257
- productKeys?: import("./types").ProductKeys | undefined;
258
- param: string;
259
- };
260
- platform_editor_usesharedpluginstateselector: {
261
- typeGuard: typeof import("./type-guards").isBoolean;
262
- defaultValue: boolean;
263
- productKeys?: import("./types").ProductKeys | undefined;
264
- param: string;
265
- };
266
- platform_editor_usesharedpluginstatewithselector: {
267
- typeGuard: typeof import("./type-guards").isBoolean;
268
- defaultValue: boolean;
269
- productKeys?: import("./types").ProductKeys | undefined;
270
- param: string;
271
- };
272
- platform_editor_media_floating_toolbar_early_exit: {
273
- typeGuard: typeof import("./type-guards").isBoolean;
274
- defaultValue: boolean;
275
- productKeys?: import("./types").ProductKeys | undefined;
276
- param: string;
277
- };
278
- platform_renderer_fix_analytics_memo_callback: {
279
- typeGuard: typeof import("./type-guards").isBoolean;
280
- defaultValue: boolean;
281
- productKeys?: import("./types").ProductKeys | undefined;
282
- param: string;
283
- };
284
- platform_editor_stop_width_reflows: {
285
- typeGuard: typeof import("./type-guards").isBoolean;
286
- defaultValue: boolean;
287
- productKeys?: import("./types").ProductKeys | undefined;
288
- param: string;
289
- };
290
- platform_editor_core_static_emotion: {
291
- typeGuard: typeof import("./type-guards").isBoolean;
292
- defaultValue: boolean;
293
- productKeys?: import("./types").ProductKeys | undefined;
294
- param: string;
295
- };
296
- platform_editor_core_static_emotion_non_central: {
297
- typeGuard: typeof import("./type-guards").isBoolean;
298
- defaultValue: boolean;
299
- productKeys?: import("./types").ProductKeys | undefined;
300
- param: string;
301
- };
302
- platform_editor_no_cursor_on_edit_page_init: {
303
- typeGuard: typeof import("./type-guards").isBoolean;
304
- defaultValue: boolean;
305
- productKeys?: import("./types").ProductKeys | undefined;
306
- param: string;
307
- };
308
- 'jira-work-sync-desc-comment-summary': {
309
- typeGuard: typeof import("./type-guards").isBoolean;
310
- defaultValue: boolean;
311
- productKeys?: import("./types").ProductKeys | undefined;
312
- param: string;
313
- };
314
- platform_editor_nodevisibility: {
315
- typeGuard: typeof import("./type-guards").isBoolean;
316
- defaultValue: boolean;
317
- productKeys?: import("./types").ProductKeys | undefined;
318
- param: string;
319
- };
320
- platform_editor_breakout_resizing: {
321
- typeGuard: typeof import("./type-guards").isBoolean;
322
- defaultValue: boolean;
323
- productKeys?: import("./types").ProductKeys | undefined;
324
- param: string;
325
- };
326
- platform_editor_ai_quickstart_command: {
327
- typeGuard: typeof import("./type-guards").isBoolean;
328
- defaultValue: boolean;
329
- productKeys?: import("./types").ProductKeys | undefined;
330
- param: string;
331
- };
332
- platform_editor_toolbar_rerender_optimization_exp: {
333
- typeGuard: typeof import("./type-guards").isBoolean;
334
- defaultValue: boolean;
335
- productKeys?: import("./types").ProductKeys | undefined;
336
- param: string;
337
- };
338
- platform_editor_block_controls_perf_optimization: {
339
- typeGuard: typeof import("./type-guards").isBoolean;
340
- defaultValue: boolean;
341
- productKeys?: import("./types").ProductKeys | undefined;
342
- param: string;
343
- };
344
- platform_editor_enable_single_player_step_merging: {
345
- typeGuard: typeof import("./type-guards").isBoolean;
346
- defaultValue: boolean;
347
- productKeys?: import("./types").ProductKeys | undefined;
348
- param: string;
349
- };
350
- platform_editor_ai_iw_adf_streaming: {
351
- typeGuard: typeof import("./type-guards").isBoolean;
352
- defaultValue: boolean;
353
- productKeys?: import("./types").ProductKeys | undefined;
354
- param: string;
355
- };
356
- platform_editor_ai_ct_sg_adf_streaming: {
357
- typeGuard: typeof import("./type-guards").isBoolean;
358
- defaultValue: boolean;
359
- productKeys?: import("./types").ProductKeys | undefined;
360
- param: string;
361
- };
362
- platform_editor_ai_remove_trivial_prompts_cc: {
363
- typeGuard: typeof import("./type-guards").isBoolean;
364
- defaultValue: boolean;
365
- productKeys?: import("./types").ProductKeys | undefined;
366
- param: string;
367
- };
368
- platform_editor_extension_styles: {
369
- typeGuard: typeof import("./type-guards").isBoolean;
370
- defaultValue: boolean;
371
- productKeys?: import("./types").ProductKeys | undefined;
372
- param: string;
373
- };
374
- confluence_whiteboards_quick_insert_aa: {
375
- values: ("control" | "test_blank" | "test_diagram")[];
376
- typeGuard: (value: unknown) => value is "control" | "test_blank" | "test_diagram";
377
- defaultValue: "control" | "test_blank" | "test_diagram";
378
- productKeys?: import("./types").ProductKeys | undefined;
379
- param: string;
380
- };
381
- platform_editor_find_and_replace_improvements: {
382
- typeGuard: typeof import("./type-guards").isBoolean;
383
- defaultValue: boolean;
384
- productKeys?: import("./types").ProductKeys | undefined;
385
- param: string;
386
- };
387
- confluence_whiteboards_quick_insert: {
388
- values: ("control" | "test_blank" | "test_diagram")[];
389
- typeGuard: (value: unknown) => value is "control" | "test_blank" | "test_diagram";
390
- defaultValue: "control" | "test_blank" | "test_diagram";
391
- productKeys?: import("./types").ProductKeys | undefined;
392
- param: string;
393
- };
394
- cc_editor_ufo_hold_table_till_resize_complete: {
395
- typeGuard: typeof import("./type-guards").isBoolean;
396
- defaultValue: boolean;
397
- productKeys?: import("./types").ProductKeys | undefined;
398
- param: string;
399
- };
400
- platform_editor_feedback_mandatory_rating: {
401
- typeGuard: typeof import("./type-guards").isBoolean;
402
- defaultValue: boolean;
403
- productKeys?: import("./types").ProductKeys | undefined;
404
- param: string;
405
- };
406
- platform_editor_drag_handle_aria_label: {
407
- typeGuard: typeof import("./type-guards").isBoolean;
408
- defaultValue: boolean;
409
- productKeys?: import("./types").ProductKeys | undefined;
410
- param: string;
411
- };
412
- platform_editor_toggle_expand_on_match_found: {
413
- typeGuard: typeof import("./type-guards").isBoolean;
414
- defaultValue: boolean;
415
- productKeys?: import("./types").ProductKeys | undefined;
416
- param: string;
417
- };
418
- platform_editor_smart_card_otp: {
419
- typeGuard: typeof import("./type-guards").isBoolean;
420
- defaultValue: boolean;
421
- productKeys?: import("./types").ProductKeys | undefined;
422
- param: string;
423
- };
424
- platform_editor_preview_panel_responsiveness: {
425
- typeGuard: typeof import("./type-guards").isBoolean;
426
- defaultValue: boolean;
427
- productKeys?: import("./types").ProductKeys | undefined;
428
- param: string;
429
- };
430
- platform_editor_block_menu: {
431
- typeGuard: typeof import("./type-guards").isBoolean;
432
- defaultValue: boolean;
433
- productKeys?: import("./types").ProductKeys | undefined;
434
- param: string;
435
- };
436
- platform_editor_renderer_breakout_fix: {
437
- typeGuard: typeof import("./type-guards").isBoolean;
438
- defaultValue: boolean;
439
- productKeys?: import("./types").ProductKeys | undefined;
440
- param: string;
441
- };
442
- editor_enghealth_hyperlink_toolbar_aria_values: {
443
- typeGuard: typeof import("./type-guards").isBoolean;
444
- defaultValue: boolean;
445
- productKeys?: import("./types").ProductKeys | undefined;
446
- param: string;
447
- };
448
- cc_editor_interactions_trigger_traceufointeraction: {
449
- values: ("control" | "all_events" | "only_mousedown_event")[];
450
- typeGuard: (value: unknown) => value is "control" | "all_events" | "only_mousedown_event";
451
- defaultValue: "control" | "all_events" | "only_mousedown_event";
452
- productKeys?: import("./types").ProductKeys | undefined;
453
- param: string;
454
- };
455
- platform_editor_add_orange_highlight_color: {
456
- values: ("test" | "control")[];
457
- typeGuard: (value: unknown) => value is "test" | "control";
458
- defaultValue: "test" | "control";
459
- productKeys?: import("./types").ProductKeys | undefined;
460
- param: string;
461
- };
462
- platform_editor_toolbar_aifc: {
463
- typeGuard: typeof import("./type-guards").isBoolean;
464
- defaultValue: boolean;
465
- productKeys?: import("./types").ProductKeys | undefined;
466
- param: string;
467
- };
468
- platform_editor_floating_toolbar_button_aria_label: {
469
- typeGuard: typeof import("./type-guards").isBoolean;
470
- defaultValue: boolean;
471
- productKeys?: import("./types").ProductKeys | undefined;
472
- param: string;
473
- };
474
- platform_editor_enghealth_table_plugin_lable_rule: {
475
- typeGuard: typeof import("./type-guards").isBoolean;
476
- defaultValue: boolean;
477
- productKeys?: import("./types").ProductKeys | undefined;
478
- param: string;
479
- };
480
- platform_editor_create_link_on_blur: {
481
- typeGuard: typeof import("./type-guards").isBoolean;
482
- defaultValue: boolean;
483
- productKeys?: import("./types").ProductKeys | undefined;
484
- param: string;
485
- };
486
- cc_comments_include_path_for_renderer_emojis: {
487
- typeGuard: typeof import("./type-guards").isBoolean;
488
- defaultValue: boolean;
489
- productKeys?: import("./types").ProductKeys | undefined;
490
- param: string;
491
- };
492
- platform_editor_breakout_interaction_rerender: {
493
- typeGuard: typeof import("./type-guards").isBoolean;
494
- defaultValue: boolean;
495
- productKeys?: import("./types").ProductKeys | undefined;
496
- param: string;
497
- };
498
- platform_editor_pasting_nested_table_fix: {
499
- typeGuard: typeof import("./type-guards").isBoolean;
500
- defaultValue: boolean;
501
- productKeys?: import("./types").ProductKeys | undefined;
502
- param: string;
503
- };
504
- platform_editor_fix_quick_insert_consistency_exp: {
505
- typeGuard: typeof import("./type-guards").isBoolean;
506
- defaultValue: boolean;
507
- productKeys?: import("./types").ProductKeys | undefined;
508
- param: string;
509
- };
510
- platform_editor_fix_a11y_aria_posinset_0: {
511
- typeGuard: typeof import("./type-guards").isBoolean;
512
- defaultValue: boolean;
513
- productKeys?: import("./types").ProductKeys | undefined;
514
- param: string;
515
- };
516
- platform_editor_blocktaskitem_node: {
517
- typeGuard: typeof import("./type-guards").isBoolean;
518
- defaultValue: boolean;
519
- productKeys?: import("./types").ProductKeys | undefined;
520
- param: string;
521
- };
522
- platform_editor_tables_scaling_css: {
523
- typeGuard: typeof import("./type-guards").isBoolean;
524
- defaultValue: boolean;
525
- productKeys?: import("./types").ProductKeys | undefined;
526
- param: string;
527
- };
528
- platform_editor_august_a11y: {
529
- typeGuard: typeof import("./type-guards").isBoolean;
530
- defaultValue: boolean;
531
- productKeys?: import("./types").ProductKeys | undefined;
532
- param: string;
533
- };
534
- }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
535
- each: (describeBody: jest.EmptyFunction) => void;
47
+ var describe: <ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, describeName: string) => {
48
+ variant: (value: EditorExperimentsConfig[ExperimentName]["defaultValue"], describeBody: DescribeBody) => void;
49
+ each: (describeBody: DescribeBody) => void;
536
50
  };
537
51
  }
538
52
  export { eeTest };
@@ -0,0 +1,31 @@
1
+ import { type EditorExperimentsConfig } from './experiments-config';
2
+ /**
3
+ * Use to check a any param value for an experiment
4
+ *
5
+ * **Note**: this will return the default value when the experiment;
6
+ * - is not being served to the client (ie. pre start)
7
+ * - or is not configured in experiments-config
8
+ *
9
+ * If you need to check a param value without an exposure check see {@link expParamEqualsNoExposure}
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const delay = expParamEquals('experiment-name', 'param-name', defaultValue)
14
+ * await new Promise(res => setTimeout(res, delay)
15
+ * ```
16
+ */
17
+ export declare function expVal<ExperimentName extends keyof EditorExperimentsConfig, DefaultValue extends string | number | boolean>(experimentName: ExperimentName, experimentParam: string, defaultValue: DefaultValue): DefaultValue;
18
+ /**
19
+ * Use to check a any param value for an experiment without firing an exposure event
20
+ *
21
+ * **Note**: this will return the default value when the experiment;
22
+ * - is not being served to the client (ie. pre start)
23
+ * - or is not configured in experiments-config
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const delay = expParamEqualsNoExposure('experiment-name', 'param-name', defaultValue)
28
+ * await new Promise(res => setTimeout(res, delay)
29
+ * ```
30
+ */
31
+ export declare function expValNoExposure<ExperimentName extends keyof EditorExperimentsConfig, DefaultValue extends string | number | boolean>(experimentName: ExperimentName, experimentParam: string, defaultValue: DefaultValue): DefaultValue;
@@ -6,7 +6,7 @@ import type { BooleanExperimentConfig, MultivariateExperimentConfig } from './ty
6
6
  export declare function createBooleanExperiment(config: BooleanExperimentConfig): {
7
7
  typeGuard: typeof isBoolean;
8
8
  defaultValue: boolean;
9
- productKeys?: import("./types").ProductKeys | undefined;
9
+ productKeys?: import("./types").ProductKeys;
10
10
  param: string;
11
11
  };
12
12
  /**
@@ -18,6 +18,6 @@ export declare function createMultivariateExperiment<T extends string[]>(config:
18
18
  ][number][];
19
19
  typeGuard: (value: unknown) => value is T[number];
20
20
  defaultValue: T[number];
21
- productKeys?: import("./types").ProductKeys | undefined;
21
+ productKeys?: import("./types").ProductKeys;
22
22
  param: string;
23
23
  };