@instructure/ui-menu 8.14.1-snapshot.12 → 8.14.1-snapshot.21

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.
@@ -36,7 +36,7 @@ export declare const MenuItemLocator: {
36
36
  debug: (maxLength?: number | undefined, options?: {
37
37
  highlight: boolean;
38
38
  } | undefined) => void;
39
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
39
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
40
40
  getTextContent: () => string | null;
41
41
  getParentNode: () => ParentNode | null;
42
42
  parent: () => ParentNode | null;
@@ -175,7 +175,7 @@ export declare const MenuItemLocator: {
175
175
  debug: (maxLength?: number | undefined, options?: {
176
176
  highlight: boolean;
177
177
  } | undefined) => void;
178
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
178
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
179
179
  getTextContent: () => string | null;
180
180
  getParentNode: () => ParentNode | null;
181
181
  parent: () => ParentNode | null;
@@ -314,7 +314,7 @@ export declare const MenuItemLocator: {
314
314
  debug: (maxLength?: number | undefined, options?: {
315
315
  highlight: boolean;
316
316
  } | undefined) => void;
317
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
317
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
318
318
  getTextContent: () => string | null;
319
319
  getParentNode: () => ParentNode | null;
320
320
  parent: () => ParentNode | null;
@@ -453,7 +453,7 @@ export declare const MenuItemLocator: {
453
453
  debug: (maxLength?: number | undefined, options?: {
454
454
  highlight: boolean;
455
455
  } | undefined) => void;
456
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
456
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
457
457
  getTextContent: () => string | null;
458
458
  getParentNode: () => ParentNode | null;
459
459
  parent: () => ParentNode | null;
@@ -30,7 +30,7 @@ export declare const MenuItemGroupLocator: {
30
30
  debug: (maxLength?: number | undefined, options?: {
31
31
  highlight: boolean;
32
32
  } | undefined) => void;
33
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
33
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
34
34
  getTextContent: () => string | null;
35
35
  getParentNode: () => ParentNode | null;
36
36
  parent: () => ParentNode | null;
@@ -169,7 +169,7 @@ export declare const MenuItemGroupLocator: {
169
169
  debug: (maxLength?: number | undefined, options?: {
170
170
  highlight: boolean;
171
171
  } | undefined) => void;
172
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
172
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
173
173
  getTextContent: () => string | null;
174
174
  getParentNode: () => ParentNode | null;
175
175
  parent: () => ParentNode | null;
@@ -315,7 +315,7 @@ export declare const MenuItemGroupLocator: {
315
315
  debug: (maxLength?: number | undefined, options?: {
316
316
  highlight: boolean;
317
317
  } | undefined) => void;
318
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
318
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
319
319
  getTextContent: () => string | null;
320
320
  getParentNode: () => ParentNode | null;
321
321
  parent: () => ParentNode | null;
@@ -454,7 +454,7 @@ export declare const MenuItemGroupLocator: {
454
454
  debug: (maxLength?: number | undefined, options?: {
455
455
  highlight: boolean;
456
456
  } | undefined) => void;
457
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
457
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
458
458
  getTextContent: () => string | null;
459
459
  getParentNode: () => ParentNode | null;
460
460
  parent: () => ParentNode | null;
@@ -593,7 +593,7 @@ export declare const MenuItemGroupLocator: {
593
593
  debug: (maxLength?: number | undefined, options?: {
594
594
  highlight: boolean;
595
595
  } | undefined) => void;
596
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
596
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
597
597
  getTextContent: () => string | null;
598
598
  getParentNode: () => ParentNode | null;
599
599
  parent: () => ParentNode | null;
@@ -733,7 +733,7 @@ export declare const MenuItemGroupLocator: {
733
733
  debug: (maxLength?: number | undefined, options?: {
734
734
  highlight: boolean;
735
735
  } | undefined) => void;
736
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
736
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
737
737
  getTextContent: () => string | null;
738
738
  getParentNode: () => ParentNode | null;
739
739
  parent: () => ParentNode | null;
@@ -872,7 +872,7 @@ export declare const MenuItemGroupLocator: {
872
872
  debug: (maxLength?: number | undefined, options?: {
873
873
  highlight: boolean;
874
874
  } | undefined) => void;
875
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
875
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
876
876
  getTextContent: () => string | null;
877
877
  getParentNode: () => ParentNode | null;
878
878
  parent: () => ParentNode | null;
@@ -1011,7 +1011,7 @@ export declare const MenuItemGroupLocator: {
1011
1011
  debug: (maxLength?: number | undefined, options?: {
1012
1012
  highlight: boolean;
1013
1013
  } | undefined) => void;
1014
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1014
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1015
1015
  getTextContent: () => string | null;
1016
1016
  getParentNode: () => ParentNode | null;
1017
1017
  parent: () => ParentNode | null;
@@ -1151,7 +1151,7 @@ export declare const MenuItemGroupLocator: {
1151
1151
  debug: (maxLength?: number | undefined, options?: {
1152
1152
  highlight: boolean;
1153
1153
  } | undefined) => void;
1154
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1154
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1155
1155
  getTextContent: () => string | null;
1156
1156
  getParentNode: () => ParentNode | null;
1157
1157
  parent: () => ParentNode | null;
@@ -1290,7 +1290,7 @@ export declare const MenuItemGroupLocator: {
1290
1290
  debug: (maxLength?: number | undefined, options?: {
1291
1291
  highlight: boolean;
1292
1292
  } | undefined) => void;
1293
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1293
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1294
1294
  getTextContent: () => string | null;
1295
1295
  getParentNode: () => ParentNode | null;
1296
1296
  parent: () => ParentNode | null;
@@ -1429,7 +1429,7 @@ export declare const MenuItemGroupLocator: {
1429
1429
  debug: (maxLength?: number | undefined, options?: {
1430
1430
  highlight: boolean;
1431
1431
  } | undefined) => void;
1432
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1432
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1433
1433
  getTextContent: () => string | null;
1434
1434
  getParentNode: () => ParentNode | null;
1435
1435
  parent: () => ParentNode | null;
@@ -1569,7 +1569,7 @@ export declare const MenuItemGroupLocator: {
1569
1569
  debug: (maxLength?: number | undefined, options?: {
1570
1570
  highlight: boolean;
1571
1571
  } | undefined) => void;
1572
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1572
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1573
1573
  getTextContent: () => string | null;
1574
1574
  getParentNode: () => ParentNode | null;
1575
1575
  parent: () => ParentNode | null;
@@ -1708,7 +1708,7 @@ export declare const MenuItemGroupLocator: {
1708
1708
  debug: (maxLength?: number | undefined, options?: {
1709
1709
  highlight: boolean;
1710
1710
  } | undefined) => void;
1711
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1711
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1712
1712
  getTextContent: () => string | null;
1713
1713
  getParentNode: () => ParentNode | null;
1714
1714
  parent: () => ParentNode | null;
@@ -1847,7 +1847,7 @@ export declare const MenuItemGroupLocator: {
1847
1847
  debug: (maxLength?: number | undefined, options?: {
1848
1848
  highlight: boolean;
1849
1849
  } | undefined) => void;
1850
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1850
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1851
1851
  getTextContent: () => string | null;
1852
1852
  getParentNode: () => ParentNode | null;
1853
1853
  parent: () => ParentNode | null;
@@ -32,7 +32,7 @@ declare const MenuLocator: {
32
32
  debug: (maxLength?: number | undefined, options?: {
33
33
  highlight: boolean;
34
34
  } | undefined) => void;
35
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
35
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
36
36
  getTextContent: () => string | null;
37
37
  getParentNode: () => ParentNode | null;
38
38
  parent: () => ParentNode | null;
@@ -171,7 +171,7 @@ declare const MenuLocator: {
171
171
  debug: (maxLength?: number | undefined, options?: {
172
172
  highlight: boolean;
173
173
  } | undefined) => void;
174
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
174
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
175
175
  getTextContent: () => string | null;
176
176
  getParentNode: () => ParentNode | null;
177
177
  parent: () => ParentNode | null;
@@ -310,7 +310,7 @@ declare const MenuLocator: {
310
310
  debug: (maxLength?: number | undefined, options?: {
311
311
  highlight: boolean;
312
312
  } | undefined) => void;
313
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
313
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
314
314
  getTextContent: () => string | null;
315
315
  getParentNode: () => ParentNode | null;
316
316
  parent: () => ParentNode | null;
@@ -449,7 +449,7 @@ declare const MenuLocator: {
449
449
  debug: (maxLength?: number | undefined, options?: {
450
450
  highlight: boolean;
451
451
  } | undefined) => void;
452
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
452
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
453
453
  getTextContent: () => string | null;
454
454
  getParentNode: () => ParentNode | null;
455
455
  parent: () => ParentNode | null;
@@ -588,7 +588,7 @@ declare const MenuLocator: {
588
588
  debug: (maxLength?: number | undefined, options?: {
589
589
  highlight: boolean;
590
590
  } | undefined) => void;
591
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
591
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
592
592
  getTextContent: () => string | null;
593
593
  getParentNode: () => ParentNode | null;
594
594
  parent: () => ParentNode | null;
@@ -728,7 +728,7 @@ declare const MenuLocator: {
728
728
  debug: (maxLength?: number | undefined, options?: {
729
729
  highlight: boolean;
730
730
  } | undefined) => void;
731
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
731
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
732
732
  getTextContent: () => string | null;
733
733
  getParentNode: () => ParentNode | null;
734
734
  parent: () => ParentNode | null;
@@ -867,7 +867,7 @@ declare const MenuLocator: {
867
867
  debug: (maxLength?: number | undefined, options?: {
868
868
  highlight: boolean;
869
869
  } | undefined) => void;
870
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
870
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
871
871
  getTextContent: () => string | null;
872
872
  getParentNode: () => ParentNode | null;
873
873
  parent: () => ParentNode | null;
@@ -1006,7 +1006,7 @@ declare const MenuLocator: {
1006
1006
  debug: (maxLength?: number | undefined, options?: {
1007
1007
  highlight: boolean;
1008
1008
  } | undefined) => void;
1009
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1009
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1010
1010
  getTextContent: () => string | null;
1011
1011
  getParentNode: () => ParentNode | null;
1012
1012
  parent: () => ParentNode | null;
@@ -1155,7 +1155,7 @@ declare const MenuLocator: {
1155
1155
  debug: (maxLength?: number | undefined, options?: {
1156
1156
  highlight: boolean;
1157
1157
  } | undefined) => void;
1158
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1158
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1159
1159
  getTextContent: () => string | null;
1160
1160
  getParentNode: () => ParentNode | null;
1161
1161
  parent: () => ParentNode | null;
@@ -1294,7 +1294,7 @@ declare const MenuLocator: {
1294
1294
  debug: (maxLength?: number | undefined, options?: {
1295
1295
  highlight: boolean;
1296
1296
  } | undefined) => void;
1297
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1297
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1298
1298
  getTextContent: () => string | null;
1299
1299
  getParentNode: () => ParentNode | null;
1300
1300
  parent: () => ParentNode | null;
@@ -1433,7 +1433,7 @@ declare const MenuLocator: {
1433
1433
  debug: (maxLength?: number | undefined, options?: {
1434
1434
  highlight: boolean;
1435
1435
  } | undefined) => void;
1436
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1436
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1437
1437
  getTextContent: () => string | null;
1438
1438
  getParentNode: () => ParentNode | null;
1439
1439
  parent: () => ParentNode | null;
@@ -1572,7 +1572,7 @@ declare const MenuLocator: {
1572
1572
  debug: (maxLength?: number | undefined, options?: {
1573
1573
  highlight: boolean;
1574
1574
  } | undefined) => void;
1575
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1575
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1576
1576
  getTextContent: () => string | null;
1577
1577
  getParentNode: () => ParentNode | null;
1578
1578
  parent: () => ParentNode | null;
@@ -1711,7 +1711,7 @@ declare const MenuLocator: {
1711
1711
  debug: (maxLength?: number | undefined, options?: {
1712
1712
  highlight: boolean;
1713
1713
  } | undefined) => void;
1714
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1714
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1715
1715
  getTextContent: () => string | null;
1716
1716
  getParentNode: () => ParentNode | null;
1717
1717
  parent: () => ParentNode | null;
@@ -1850,7 +1850,7 @@ declare const MenuLocator: {
1850
1850
  debug: (maxLength?: number | undefined, options?: {
1851
1851
  highlight: boolean;
1852
1852
  } | undefined) => void;
1853
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1853
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1854
1854
  getTextContent: () => string | null;
1855
1855
  getParentNode: () => ParentNode | null;
1856
1856
  parent: () => ParentNode | null;
@@ -1990,7 +1990,7 @@ declare const MenuLocator: {
1990
1990
  debug: (maxLength?: number | undefined, options?: {
1991
1991
  highlight: boolean;
1992
1992
  } | undefined) => void;
1993
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1993
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1994
1994
  getTextContent: () => string | null;
1995
1995
  getParentNode: () => ParentNode | null;
1996
1996
  parent: () => ParentNode | null;
@@ -2129,7 +2129,7 @@ declare const MenuLocator: {
2129
2129
  debug: (maxLength?: number | undefined, options?: {
2130
2130
  highlight: boolean;
2131
2131
  } | undefined) => void;
2132
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2132
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2133
2133
  getTextContent: () => string | null;
2134
2134
  getParentNode: () => ParentNode | null;
2135
2135
  parent: () => ParentNode | null;
@@ -2268,7 +2268,7 @@ declare const MenuLocator: {
2268
2268
  debug: (maxLength?: number | undefined, options?: {
2269
2269
  highlight: boolean;
2270
2270
  } | undefined) => void;
2271
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2271
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2272
2272
  getTextContent: () => string | null;
2273
2273
  getParentNode: () => ParentNode | null;
2274
2274
  parent: () => ParentNode | null;
@@ -2411,7 +2411,7 @@ declare const MenuLocator: {
2411
2411
  debug: (maxLength?: number | undefined, options?: {
2412
2412
  highlight: boolean;
2413
2413
  } | undefined) => void;
2414
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2414
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2415
2415
  getTextContent: () => string | null;
2416
2416
  getParentNode: () => ParentNode | null;
2417
2417
  parent: () => ParentNode | null;
@@ -2550,7 +2550,7 @@ declare const MenuLocator: {
2550
2550
  debug: (maxLength?: number | undefined, options?: {
2551
2551
  highlight: boolean;
2552
2552
  } | undefined) => void;
2553
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2553
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2554
2554
  getTextContent: () => string | null;
2555
2555
  getParentNode: () => ParentNode | null;
2556
2556
  parent: () => ParentNode | null;
@@ -2689,7 +2689,7 @@ declare const MenuLocator: {
2689
2689
  debug: (maxLength?: number | undefined, options?: {
2690
2690
  highlight: boolean;
2691
2691
  } | undefined) => void;
2692
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2692
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2693
2693
  getTextContent: () => string | null;
2694
2694
  getParentNode: () => ParentNode | null;
2695
2695
  parent: () => ParentNode | null;
@@ -2828,7 +2828,7 @@ declare const MenuLocator: {
2828
2828
  debug: (maxLength?: number | undefined, options?: {
2829
2829
  highlight: boolean;
2830
2830
  } | undefined) => void;
2831
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2831
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2832
2832
  getTextContent: () => string | null;
2833
2833
  getParentNode: () => ParentNode | null;
2834
2834
  parent: () => ParentNode | null;
@@ -2967,7 +2967,7 @@ declare const MenuLocator: {
2967
2967
  debug: (maxLength?: number | undefined, options?: {
2968
2968
  highlight: boolean;
2969
2969
  } | undefined) => void;
2970
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2970
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2971
2971
  getTextContent: () => string | null;
2972
2972
  getParentNode: () => ParentNode | null;
2973
2973
  parent: () => ParentNode | null;
@@ -3106,7 +3106,7 @@ declare const MenuLocator: {
3106
3106
  debug: (maxLength?: number | undefined, options?: {
3107
3107
  highlight: boolean;
3108
3108
  } | undefined) => void;
3109
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3109
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3110
3110
  getTextContent: () => string | null;
3111
3111
  getParentNode: () => ParentNode | null;
3112
3112
  parent: () => ParentNode | null;
@@ -3246,7 +3246,7 @@ declare const MenuLocator: {
3246
3246
  debug: (maxLength?: number | undefined, options?: {
3247
3247
  highlight: boolean;
3248
3248
  } | undefined) => void;
3249
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3249
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3250
3250
  getTextContent: () => string | null;
3251
3251
  getParentNode: () => ParentNode | null;
3252
3252
  parent: () => ParentNode | null;
@@ -3385,7 +3385,7 @@ declare const MenuLocator: {
3385
3385
  debug: (maxLength?: number | undefined, options?: {
3386
3386
  highlight: boolean;
3387
3387
  } | undefined) => void;
3388
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3388
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3389
3389
  getTextContent: () => string | null;
3390
3390
  getParentNode: () => ParentNode | null;
3391
3391
  parent: () => ParentNode | null;
@@ -3524,7 +3524,7 @@ declare const MenuLocator: {
3524
3524
  debug: (maxLength?: number | undefined, options?: {
3525
3525
  highlight: boolean;
3526
3526
  } | undefined) => void;
3527
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3527
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3528
3528
  getTextContent: () => string | null;
3529
3529
  getParentNode: () => ParentNode | null;
3530
3530
  parent: () => ParentNode | null;
@@ -3667,7 +3667,7 @@ declare const MenuLocator: {
3667
3667
  debug: (maxLength?: number | undefined, options?: {
3668
3668
  highlight: boolean;
3669
3669
  } | undefined) => void;
3670
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3670
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3671
3671
  getTextContent: () => string | null;
3672
3672
  getParentNode: () => ParentNode | null;
3673
3673
  parent: () => ParentNode | null;
@@ -3806,7 +3806,7 @@ declare const MenuLocator: {
3806
3806
  debug: (maxLength?: number | undefined, options?: {
3807
3807
  highlight: boolean;
3808
3808
  } | undefined) => void;
3809
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3809
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3810
3810
  getTextContent: () => string | null;
3811
3811
  getParentNode: () => ParentNode | null;
3812
3812
  parent: () => ParentNode | null;
@@ -3945,7 +3945,7 @@ declare const MenuLocator: {
3945
3945
  debug: (maxLength?: number | undefined, options?: {
3946
3946
  highlight: boolean;
3947
3947
  } | undefined) => void;
3948
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
3948
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
3949
3949
  getTextContent: () => string | null;
3950
3950
  getParentNode: () => ParentNode | null;
3951
3951
  parent: () => ParentNode | null;
@@ -4084,7 +4084,7 @@ declare const MenuLocator: {
4084
4084
  debug: (maxLength?: number | undefined, options?: {
4085
4085
  highlight: boolean;
4086
4086
  } | undefined) => void;
4087
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4087
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4088
4088
  getTextContent: () => string | null;
4089
4089
  getParentNode: () => ParentNode | null;
4090
4090
  parent: () => ParentNode | null;
@@ -4223,7 +4223,7 @@ declare const MenuLocator: {
4223
4223
  debug: (maxLength?: number | undefined, options?: {
4224
4224
  highlight: boolean;
4225
4225
  } | undefined) => void;
4226
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4226
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4227
4227
  getTextContent: () => string | null;
4228
4228
  getParentNode: () => ParentNode | null;
4229
4229
  parent: () => ParentNode | null;
@@ -4362,7 +4362,7 @@ declare const MenuLocator: {
4362
4362
  debug: (maxLength?: number | undefined, options?: {
4363
4363
  highlight: boolean;
4364
4364
  } | undefined) => void;
4365
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4365
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4366
4366
  getTextContent: () => string | null;
4367
4367
  getParentNode: () => ParentNode | null;
4368
4368
  parent: () => ParentNode | null;
@@ -4502,7 +4502,7 @@ declare const MenuLocator: {
4502
4502
  debug: (maxLength?: number | undefined, options?: {
4503
4503
  highlight: boolean;
4504
4504
  } | undefined) => void;
4505
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4505
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4506
4506
  getTextContent: () => string | null;
4507
4507
  getParentNode: () => ParentNode | null;
4508
4508
  parent: () => ParentNode | null;
@@ -4641,7 +4641,7 @@ declare const MenuLocator: {
4641
4641
  debug: (maxLength?: number | undefined, options?: {
4642
4642
  highlight: boolean;
4643
4643
  } | undefined) => void;
4644
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4644
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4645
4645
  getTextContent: () => string | null;
4646
4646
  getParentNode: () => ParentNode | null;
4647
4647
  parent: () => ParentNode | null;
@@ -4780,7 +4780,7 @@ declare const MenuLocator: {
4780
4780
  debug: (maxLength?: number | undefined, options?: {
4781
4781
  highlight: boolean;
4782
4782
  } | undefined) => void;
4783
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4783
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4784
4784
  getTextContent: () => string | null;
4785
4785
  getParentNode: () => ParentNode | null;
4786
4786
  parent: () => ParentNode | null;
@@ -4923,7 +4923,7 @@ declare const MenuLocator: {
4923
4923
  debug: (maxLength?: number | undefined, options?: {
4924
4924
  highlight: boolean;
4925
4925
  } | undefined) => void;
4926
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
4926
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
4927
4927
  getTextContent: () => string | null;
4928
4928
  getParentNode: () => ParentNode | null;
4929
4929
  parent: () => ParentNode | null;
@@ -5062,7 +5062,7 @@ declare const MenuLocator: {
5062
5062
  debug: (maxLength?: number | undefined, options?: {
5063
5063
  highlight: boolean;
5064
5064
  } | undefined) => void;
5065
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5065
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5066
5066
  getTextContent: () => string | null;
5067
5067
  getParentNode: () => ParentNode | null;
5068
5068
  parent: () => ParentNode | null;
@@ -5201,7 +5201,7 @@ declare const MenuLocator: {
5201
5201
  debug: (maxLength?: number | undefined, options?: {
5202
5202
  highlight: boolean;
5203
5203
  } | undefined) => void;
5204
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5204
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5205
5205
  getTextContent: () => string | null;
5206
5206
  getParentNode: () => ParentNode | null;
5207
5207
  parent: () => ParentNode | null;
@@ -5340,7 +5340,7 @@ declare const MenuLocator: {
5340
5340
  debug: (maxLength?: number | undefined, options?: {
5341
5341
  highlight: boolean;
5342
5342
  } | undefined) => void;
5343
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5343
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5344
5344
  getTextContent: () => string | null;
5345
5345
  getParentNode: () => ParentNode | null;
5346
5346
  parent: () => ParentNode | null;
@@ -5479,7 +5479,7 @@ declare const MenuLocator: {
5479
5479
  debug: (maxLength?: number | undefined, options?: {
5480
5480
  highlight: boolean;
5481
5481
  } | undefined) => void;
5482
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5482
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5483
5483
  getTextContent: () => string | null;
5484
5484
  getParentNode: () => ParentNode | null;
5485
5485
  parent: () => ParentNode | null;
@@ -5618,7 +5618,7 @@ declare const MenuLocator: {
5618
5618
  debug: (maxLength?: number | undefined, options?: {
5619
5619
  highlight: boolean;
5620
5620
  } | undefined) => void;
5621
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5621
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5622
5622
  getTextContent: () => string | null;
5623
5623
  getParentNode: () => ParentNode | null;
5624
5624
  parent: () => ParentNode | null;
@@ -5758,7 +5758,7 @@ declare const MenuLocator: {
5758
5758
  debug: (maxLength?: number | undefined, options?: {
5759
5759
  highlight: boolean;
5760
5760
  } | undefined) => void;
5761
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5761
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5762
5762
  getTextContent: () => string | null;
5763
5763
  getParentNode: () => ParentNode | null;
5764
5764
  parent: () => ParentNode | null;
@@ -5897,7 +5897,7 @@ declare const MenuLocator: {
5897
5897
  debug: (maxLength?: number | undefined, options?: {
5898
5898
  highlight: boolean;
5899
5899
  } | undefined) => void;
5900
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
5900
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
5901
5901
  getTextContent: () => string | null;
5902
5902
  getParentNode: () => ParentNode | null;
5903
5903
  parent: () => ParentNode | null;
@@ -6036,7 +6036,7 @@ declare const MenuLocator: {
6036
6036
  debug: (maxLength?: number | undefined, options?: {
6037
6037
  highlight: boolean;
6038
6038
  } | undefined) => void;
6039
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
6039
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
6040
6040
  getTextContent: () => string | null;
6041
6041
  getParentNode: () => ParentNode | null;
6042
6042
  parent: () => ParentNode | null;