cnf
2025-05-10 386fa0eca75ddc88165f9b73038f2a2239e1072e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
declare namespace UniNamespace {
    /**
     * 需要基础库: `2.10.4`
     *
     * 网络请求过程中一些调试信息,[查看详细说明](https://developers.weixin.qq.com/miniprogram/dev/framework/performance/network.html)
     */
    interface RequestProfile {
        /**
         * SSL建立完成的时间,如果不是安全连接,则值为 0
         */
        SSLconnectionEnd: number;
        /**
         * SSL建立连接的时间,如果不是安全连接,则值为 0
         */
        SSLconnectionStart: number;
        /**
         * HTTP(TCP) 完成建立连接的时间(完成握手),如果是持久连接,则与 fetchStart 值相等。注意如果在传输层发生了错误且重新建立连接,则这里显示的是新建立的连接完成的时间。注意这里握手结束,包括安全连接建立完成、SOCKS 授权通过
         */
        connectEnd: number;
        /**
         * HTTP(TCP) 开始建立连接的时间,如果是持久连接,则与 fetchStart 值相等。注意如果在传输层发生了错误且重新建立连接,则这里显示的是新建立的连接开始的时间
         */
        connectStart: number;
        /**
         * DNS 域名查询完成的时间,如果使用了本地缓存(即无 DNS 查询)或持久连接,则与 fetchStart 值相等
         */
        domainLookupEnd: number;
        /**
         * DNS 域名查询开始的时间,如果使用了本地缓存(即无 DNS 查询)或持久连接,则与 fetchStart 值相等
         */
        domainLookupStart: number;
        /**
         * 评估当前网络下载的kbps
         */
        downstreamThroughputKbpsEstimate: number;
        /**
         * 评估的网络状态 unknown, offline, slow 2g, 2g, 3g, 4g, last/0, 1, 2, 3, 4, 5, 6
         */
        estimate_nettype: number;
        /**
         * 组件准备好使用 HTTP 请求抓取资源的时间,这发生在检查本地缓存之前
         */
        fetchStart: number;
        /**
         * 协议层根据多个请求评估当前网络的 rtt(仅供参考)
         */
        httpRttEstimate: number;
        /**
         * 当前请求的IP
         */
        peerIP: string;
        /**
         * 当前请求的端口
         */
        port: number;
        /**
         * 使用协议类型,有效值:http1.1, h2, quic, unknown
         */
        protocol: string;
        /**
         * 收到字节数
         */
        receivedBytedCount: number;
        /**
         * 最后一个 HTTP 重定向完成时的时间。有跳转且是同域名内部的重定向才算,否则值为 0
         */
        redirectEnd: number;
        /**
         * 第一个 HTTP 重定向发生时的时间。有跳转且是同域名内的重定向才算,否则值为 0
         */
        redirectStart: number;
        /**
         * HTTP请求读取真实文档结束的时间
         */
        requestEnd: number;
        /**
         * HTTP请求读取真实文档开始的时间(完成建立连接),包括从本地读取缓存。连接错误重连时,这里显示的也是新建立连接的时间
         */
        requestStart: number;
        /**
         * HTTP 响应全部接收完成的时间(获取到最后一个字节),包括从本地读取缓存
         */
        responseEnd: number;
        /**
         * HTTP 开始接收响应的时间(获取到第一个字节),包括从本地读取缓存
         */
        responseStart: number;
        /**
         * 当次请求连接过程中实时 rtt
         */
        rtt: number;
        /**
         * 发送的字节数
         */
        sendBytesCount: number;
        /**
         * 是否复用连接
         */
        socketReused: boolean;
        /**
         * 当前网络的实际下载kbps
         */
        throughputKbps: number;
        /**
         * 传输层根据多个请求评估的当前网络的 rtt(仅供参考)
         */
        transportRttEstimate: number;
    }
 
    interface DownloadSuccessData {
        /** 用户文件路径 (本地路径)。传入 filePath 时会返回,跟传入的 filePath 一致 */
        filePath?: string;
        /**
         * 需要基础库: `2.10.4`
         *
         * 网络请求过程中一些调试信息,[查看详细说明](https://developers.weixin.qq.com/miniprogram/dev/framework/performance/network.html)
         */
        profile?: RequestProfile;
        errMsg?: string;
    }
 
    interface DownloadFileOption {
        /**
         * 需要基础库: `1.8.0`
         *
         * 指定文件下载后存储的路径 (本地路径)
         */
        filePath?: string;
    }
 
    interface RequestSuccessCallbackResult {
        /**
         * 需要基础库: `2.10.4`
         *
         * 网络请求过程中一些调试信息,[查看详细说明](https://developers.weixin.qq.com/miniprogram/dev/framework/performance/network.html)
         */
        profile?: RequestProfile;
        errMsg?: string;
    }
 
    interface RewardedVideoAdOptions {
        /**
         * 需要基础库: `2.8.0`
         *
         * 是否启用多例模式,默认为false
         */
        multiton?: boolean;
    }
 
    interface ConnectSocketOption {
        /**
         * 需要基础库: `2.8.0`
         *
         * 是否开启压缩扩展
         */
        perMessageDeflate?: boolean;
        /**
         * 需要基础库: `2.4.0`
         *
         * 建立 TCP 连接的时候的 TCP_NODELAY 设置
         */
        tcpNoDelay?: boolean;
        /**
         * 需要基础库: `2.10.0`
         *
         * 超时时间,单位为毫秒
         */
        timeout?: number;
    }
 
    interface UploadFileSuccessCallbackResult {
        errMsg?: string;
    }
 
    interface CanvasToTempFilePathRes {
        errMsg?: string;
    }
 
    interface CanvasToTempFilePathOptions {
        /** 画布标识,传入 [canvas](https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html) 组件实例 (canvas type="2d" 时使用该属性)。 */
        canvas?: any;
    }
 
    interface ChooseAddressRes {
        /** 新选择器详细收货地址信息 */
        detailInfoNew?: string;
        /** 国标收货地址第四级地址 */
        streetName?: string;
    }
 
    interface ChooseImageSuccessCallbackResult {
        errMsg?: string;
    }
 
    interface ChooseLocationSuccess {
        errMsg?: string;
    }
 
    interface ChooseVideoSuccess {
        errMsg?: string;
    }
 
    interface CompressImageSuccessResult {
        errMsg?: string;
    }
 
    interface CompressImageOptions {
        /**
         * 需要基础库: `2.26.0`
         *
         * 压缩后图片的高度,单位为px,若不填写则默认以compressedWidth为准等比缩放
         */
        compressHeight?: number;
    }
 
    interface CompressVideoSuccessData {
        errMsg?: string;
    }
 
    interface GetImageInfoSuccessData {
        errMsg?: string;
    }
 
    interface GetLocationSuccess {
        errMsg?: string;
    }
 
    interface GetNetworkTypeSuccess {
        /**
         * 需要基础库: `2.22.1`
         *
         * 设备是否使用了网络代理
         */
        hasSystemProxy?: boolean;
        /** 信号强弱,单位 dbm */
        signalStrength?: number;
        errMsg?: string;
    }
 
    interface GetSelectedTextRangeSuccessCallbackResult {
        errMsg?: string;
    }
 
    interface GetSettingSuccessResult {
        /**
         * [AuthSetting](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/setting/AuthSetting.html)
         *
         * 在插件中调用时,当前宿主小程序的用户授权结果
         */
        miniprogramAuthSetting?: AuthSetting;
        errMsg?: string;
    }
 
    interface GetStorageSuccess {
        errMsg?: string;
    }
 
    interface GetStorageOptions {
        /**
         * 需要基础库: `2.21.3`
         *
         * 是否开启加密存储。只有异步的 getStorage 接口支持开启加密存储。开启后,将会对 data 使用 AES128 解密,接口回调耗时将会增加。若开启加密存储,setStorage 和 getStorage 需要同时声明 encrypt 的值为 true
         */
        encrypt?: boolean;
    }
 
    interface GetSystemInfoResult {
        /**
         * 需要基础库: `1.8.0`
         *
         * 设备性能等级(仅 Android)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好,目前最高不到50)
         */
        benchmarkLevel?: number;
        /**
         * 需要基础库: `2.15.0`
         *
         * 是否已打开调试。可通过右上角菜单或 [wx.setEnableDebug](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html) 打开调试。
         */
        enableDebug?: boolean;
        /** `true` 表示模糊定位,`false` 表示精确定位,仅 iOS 支持 */
        locationReducedAccuracy?: boolean;
        /**
         * 需要基础库: `2.19.3`
         *
         * 允许微信使用日历的开关
         */
        phoneCalendarAuthorized?: boolean;
    }
 
    interface GetUserInfoRes {
        /**
         * 需要基础库: `2.7.0`
         *
         * 敏感数据对应的云 ID,开通[云开发](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)的小程序才会返回,可通过云调用直接获取开放数据,详细见[云调用直接获取开放数据](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#method-cloud)
         */
        cloudID?: string;
    }
 
    interface GetUserProfileRes {
        /**
         * 需要基础库: `2.10.4`
         *
         * 敏感数据对应的云 ID,开通[云开发](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)的小程序才会返回,可通过云调用直接获取开放数据,详细见[云调用直接获取开放数据](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#method-cloud)
         */
        cloudID?: string;
    }
 
    interface GetVideoInfoSuccessData {
        errMsg?: string;
    }
 
    interface HideShareMenuOptions {
        /**
         * 需要基础库: `2.11.3`
         *
         * 本接口为 Beta 版本,暂只在 Android 平台支持。需要隐藏的转发按钮名称列表,默认['shareAppMessage', 'shareTimeline']。按钮名称合法值包含 "shareAppMessage"、"shareTimeline" 两种
         */
        menus?: string[];
    }
 
    interface LoadFontFaceOptions {
        /** 字体作用范围,可选值为 webview / native,默认 webview,设置 native 可在 Canvas 2D 下使用 */
        scopes?: any[];
    }
 
    interface NavigateToMiniProgramOptions {
        /**
         * 需要基础库: `2.24.0`
         *
         * 不reLaunch目标小程序,直接打开目标跳转的小程序退后台时的页面,需满足以下条件:1. 目标跳转的小程序生命周期未被销毁;2. 且目标当次启动的path、query、apiCategory与上次启动相同。
         */
        noRelaunchIfPathUnchanged?: boolean;
        /**
         * 需要基础库: `2.18.1`
         *
         * 小程序链接,当传递该参数后,可以不传 appId 和 path。链接可以通过【小程序菜单】->【复制链接】获取。
         */
        shortLink?: string;
    }
 
    interface StopBluetoothDevicesDiscoverySuccess {
        /**
         * 错误码
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | 0 | ok | 正常 |
         * | -1 | already connect | 已连接 |
         * | 10000 | not init | 未初始化蓝牙适配器 |
         * | 10001 | not available | 当前蓝牙适配器不可用 |
         * | 10002 | no device | 没有找到指定设备 |
         * | 10003 | connection fail | 连接失败 |
         * | 10004 | no service | 没有找到指定服务 |
         * | 10005 | no characteristic | 没有找到指定特征 |
         * | 10006 | no connection | 当前连接已断开 |
         * | 10007 | property not support | 当前特征不支持此操作 |
         * | 10008 | system error | 其余所有系统上报的异常 |
         * | 10009 | system not support | Android 系统特有,系统版本低于 4.3 不支持 BLE |
         * | 10012 | operate time out | 连接超时 |
         * | 10013 | invalid_data | 连接 deviceId 为空或者是格式不正确 |
         */
        errCode?: number;
    }
 
    interface NotifyBLECharacteristicValueChangeOptions {
        /**
         * 需要基础库: `2.4.0`
         *
         * 设置特征订阅类型,有效值有 `notification` 和 `indication`
         */
        type?: string;
    }
 
    interface OpenBluetoothAdapterOptions {
        /**
         * 需要基础库: `2.10.0`
         *
         * 蓝牙模式,可作为主/从设备,仅 iOS 需要。
         *
         * 可选值:
         * - 'central': 主机模式;
         * - 'peripheral': 从机(外围设备)模式;
         */
        mode?: "central" | "peripheral";
    }
 
    interface OpenDocumentOptions {
        /**
         * 需要基础库: `2.11.0`
         *
         * 是否显示右上角菜单
         */
        showMenu?: boolean;
    }
 
    interface OpenVideoEditorSuccessData {
        errMsg?: string;
    }
 
    interface OpenVideoEditorOptions {
        /**
         * 需要基础库: `2.16.1`
         *
         * 视频裁剪的最大长度
         */
        maxDuration?: string;
        /**
         * 需要基础库: `2.16.1`
         *
         * 视频裁剪的最小长度
         */
        minDuration?: string;
    }
 
    interface PageScrollToOptions {
        /**
         * 需要基础库: `2.23.1`
         *
         * 偏移距离,需要和 selector 参数搭配使用,可以滚动到 selector 加偏移距离的位置,单位 px
         */
        offsetTop?: number;
    }
 
    interface PreviewImageOptions {
        /**
         * 需要基础库: `2.13.0`
         *
         * `origin`: 发送完整的referrer; `no-referrer`: 不发送。格式固定为 `https://servicewechat.com/{appid}/{version}/page-frame.html`,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
         */
        referrerPolicy?: string;
        /**
         * 需要基础库: `2.13.0`
         *
         * 是否显示长按菜单。
         */
        showmenu?: boolean;
    }
 
    interface SaveImageToPhotosAlbumResult {
        /** 错误信息 */
        errMsg?: string;
    }
 
    interface ScanCodeSuccessRes {
        /** 原始数据,base64编码 */
        rawData?: string;
        errMsg?: string;
    }
 
    interface SetStorageOptions {
        /**
         * 需要基础库: `2.21.3`
         *
         * 是否开启加密存储。只有异步的 setStorage 接口支持开启加密存储。开启后,将会对 data 使用 AES128 加密,接口回调耗时将会增加。若开启加密存储,setStorage 和 getStorage 需要同时声明 encrypt 的值为 true。此外,由于加密后的数据会比原始数据膨胀1.4倍,因此开启 encrypt 的情况下,单个 key 允许存储的最大数据长度为 0.7MB,所有数据存储上限为 7.1MB
         */
        encrypt?: boolean;
    }
 
    interface ShowActionSheetRes {
        errMsg?: string;
    }
 
    interface ShowModalRes {
        errMsg?: string;
    }
 
    interface StartBeaconDiscoveryOptions {
        /** 是否校验蓝牙开关,仅在 iOS 下有效。iOS 11 起,控制面板里关掉蓝牙,还是能继续使用 Beacon 服务。 */
        ignoreBluetoothAvailable?: boolean;
    }
 
    interface StartBluetoothDevicesDiscoveryOptions {
        /**
         * 扫描模式,越高扫描越快,也越耗电。仅安卓微信客户端 7.0.12 及以上支持。
         *
         * 可选值:
         * - 'low': 低;
         * - 'medium': 中;
         * - 'high': 高;
         */
        powerLevel?: "low" | "medium" | "high";
    }
 
    interface VibrateShortOptions {
        /**
         * 需要基础库: `2.13.0`
         *
         * 震动强度类型,有效值为:heavy、medium、light
         */
        type?: string;
    }
 
    interface WriteBLECharacteristicValueOptions {
        /**
         * 蓝牙特征值的写模式设置,有两种模式,iOS 优先 write,安卓优先 writeNoResponse 。(基础库 2.22.0 开始支持)
         *
         * 可选值:
         * - 'write': 强制回复写,不支持时报错;
         * - 'writeNoResponse': 强制无回复写,不支持时报错;
         */
        writeType?: "write" | "writeNoResponse";
    }
 
    /**
     * 小程序帐号信息
     */
    interface MiniProgram {
        /**
         * 小程序 appId
         */
        appId: string;
        /**
         * 需要基础库: `2.10.0`
         *
         * 小程序版本
         *
         * 可选值:
         * - 'develop': 开发版;
         * - 'trial': 体验版;
         * - 'release': 正式版;
         */
        envVersion: "develop" | "trial" | "release";
        /**
         * 需要基础库: `2.10.2`
         *
         * 线上小程序版本号
         */
        version: string;
    }
 
    /**
     * 插件帐号信息(仅在插件中调用时包含这一项)
     */
    interface Plugin {
        /**
         * 插件 appId
         */
        appId: string;
        /**
         * 插件版本号
         */
        version: string;
    }
 
    /**
     * 帐号信息
     */
    interface AccountInfo {
        /**
         * 小程序帐号信息
         */
        miniProgram: MiniProgram;
        /**
         * 插件帐号信息(仅在插件中调用时包含这一项)
         */
        plugin: Plugin;
    }
 
    interface GetBatteryInfoSyncResult {
        /**
         * 是否正在充电中
         */
        isCharging: boolean;
        /**
         * 设备电量,范围 1 - 100
         */
        level: number;
    }
 
    /**
     * 当前运行环境对于 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的支持情况
     */
    interface SkylineInfo {
        /**
         * 当前运行环境是否支持 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html)
         */
        isSupported: boolean;
        /**
         * 当前运行环境不支持 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的原因,仅在 `isSupported` 为 `false` 时出现
         *
         * 可选值:
         * - 'client not supported': 当前微信客户端不支持 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html),可以尝试通过升级微信客户端解决;
         * - 'baselib not supported': 当前基础库不支持 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html),基础库会自动更新到当前客户端所能支持的最新的版本,基础库不支持时也可以尝试通过升级微信客户端解决;
         * - 'a-b test not enabled': 命中了 _We 分析_ 平台上的 AB 实验关闭的情况。详细可以查看 [Skyline 起步 > 配置 We 分析 AB 实验](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/migration/#%E9%85%8D%E7%BD%AE-We-%E5%88%86%E6%9E%90-AB-%E5%AE%9E%E9%AA%8C) 一节;
         * - 'SwitchRender option set to webview': 本地调试的快捷切换入口被设置为了强制使用 Webview. 详情可以查看 [Skyline 起步 > 快捷切换入口](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/migration/#%E5%BF%AB%E6%8D%B7%E5%88%87%E6%8D%A2%E5%85%A5%E5%8F%A3) 一节;
         */
        reason: "client not supported" | "baselib not supported" | "a-b test not enabled" | "SwitchRender option set to webview";
        /**
         * 当前运行环境 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的版本号,形如 `0.9.7`
         */
        version: string;
    }
 
    /**
     * 额外的缓存处理
     */
    interface ExtraOption {
        /**
         * 需要缓存的 wx api 接口,不传则表示支持缓存的接口全都做缓存处理。返回的如果是缓存数据,开发者可通过 fromCache 标记区分
         *
         * 可选值:
         * - 'wx.login': ;
         * - 'wx.checkSession': ;
         * - 'wx.getSetting': ;
         */
        apiList?: ("wx.login" | "wx.checkSession" | "wx.getSetting")[];
    }
 
    interface CreateCacheManagerOption {
        /**
         * 额外的缓存处理
         */
        extra?: ExtraOption;
        /**
         * 全局缓存有效时间,单位为毫秒,默认为 7 天,最长不超过 30 天
         */
        maxAge?: number;
        /**
         * 缓存模式
         *
         * 可选值:
         * - 'weakNetwork': 弱网/离线使用缓存返回;
         * - 'always': 总是使用缓存返回;
         * - 'none': 不开启,后续可手动开启/停止使用缓存返回;
         */
        mode?: "weakNetwork" | "always" | "none";
        /**
         * 全局 origin
         */
        origin?: string;
    }
 
    /**
     * 需要基础库: `2.24.0`
     *
     * 缓存管理器。全局只有唯一实例,一旦被创建出来即表示接入缓存管理器。其有以下几个能力:
     *
     * 1. 在网络通畅时,符合一定规则的用户网络请求(目前只包括普通 wx.request 请求)会被缓存。
     * 2. 在网络通畅时,某些 wx api 调用会被缓存。
     * 3. 进入弱网/离线状态时,会提供事件给用户,用户可以决定是否使用缓存返回。
     * 4. 提供进入和退出弱网/离线状态的事件。
     *
     * > 1. 缓存管理器中涉及的网络请求如无特指,均指普通的 wx.request 异步请求,参数和返回值中均不考虑涉及 ArrayBuffer 或 TypedArray 的情形。
     * > 2. 缓存管理器中的缓存不会占用 storage 空间,但是有大小限制,请勿在非必要的请求上使用缓存。
     */
    interface CacheManager {
        /**
         * 全局缓存有效时间
         */
        maxAge: string;
        /**
         * 当前缓存模式
         *
         * 可选值:
         * - 'weakNetwork': 默认值,弱网/离线使用缓存返回;
         * - 'always': 总是使用缓存返回;
         * - 'none': 不开启,后续可手动开启/停止使用缓存返回;
         */
        mode: "weakNetwork" | "always" | "none";
        /**
         * 全局 origin
         */
        origin: string;
        /**
         * 当前缓存管理器状态
         *
         * 可选值:
         * - 0: 不使用缓存返回;
         * - 1: 使用缓存返回;
         * - 2: 未知;
         */
        state: 0 | 1 | 2;
    }
 
    interface ReadCompressedFileSyncOption {
        /**
         * 文件压缩类型,目前仅支持 'br'。
         *
         * 可选值:
         * - 'br': brotli压缩文件;
         */
        compressionAlgorithm: "br";
        /**
         * 要读取的文件的路径 (本地用户文件或代码包文件)
         */
        filePath: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AccessCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface AccessFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory ${path}': 文件/目录不存在;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type AccessFailCallback = (result: AccessFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AccessSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface AccessOption {
        /**
         * 要判断是否存在的文件/目录路径 (本地路径)
         */
        path: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AccessCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AccessFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AccessSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AppendFileCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface AppendFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory, open ${filePath}': 指定的 filePath 文件不存在;
         * - 'fail illegal operation on a directory, open "${filePath}"': 指定的 filePath 是一个已经存在的目录;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有写权限;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type AppendFileFailCallback = (result: AppendFileFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AppendFileSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface AppendFileOption {
        /**
         * 要追加的文本或二进制数据
         */
        data: string | ArrayBuffer;
        /**
         * 要追加内容的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AppendFileCompleteCallback;
        /**
         * 指定写入文件的字符编码
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': ;
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 接口调用失败的回调函数
         */
        fail?: AppendFileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AppendFileSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type FileSystemManagerCloseCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface CloseFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'bad file descriptor': 无效的文件描述符;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type FileSystemManagerCloseFailCallback = (
                result: CloseFailCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type FileSystemManagerCloseSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface FileSystemManagerCloseOption {
        /**
         * 需要被关闭的文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: FileSystemManagerCloseCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: FileSystemManagerCloseFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: FileSystemManagerCloseSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type CopyFileCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface CopyFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail permission denied, copyFile ${srcPath} -> ${destPath}': 指定目标文件路径没有写权限;
         * - 'fail no such file or directory, copyFile ${srcPath} -> ${destPath}': 源文件不存在,或目标文件路径的上层目录不存在;
         * - 'fail the maximum size of the file storage limit is exceeded': 存储空间不足;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type CopyFileFailCallback = (result: CopyFileFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type CopyFileSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface CopyFileOption {
        /**
         * 目标文件路径,支持本地路径
         */
        destPath: string;
        /**
         * 源文件路径,支持本地路径
         */
        srcPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: CopyFileCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: CopyFileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: CopyFileSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type FstatCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface FstatFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'bad file descriptor': 无效的文件描述符;
         * - 'fail permission denied': 指定的 fd 路径没有读权限;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type FstatFailCallback = (result: FstatFailCallbackResult) => void;
 
    /**
     * 描述文件状态的对象
     */
    interface Stats {
        /**
         * 文件最近一次被存取或被执行的时间,UNIX 时间戳,对应 POSIX stat.st_atime
         */
        lastAccessedTime: number;
        /**
         * 文件最后一次被修改的时间,UNIX 时间戳,对应 POSIX stat.st_mtime
         */
        lastModifiedTime: number;
        /**
         * 文件的类型和存取的权限,对应 POSIX stat.st_mode
         */
        mode: string;
        /**
         * 文件大小,单位:B,对应 POSIX stat.st_size
         */
        size: number;
    }
 
    interface FstatSuccessCallbackResult {
        /**
         *
         * Stats 对象,包含了文件的状态信息
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/Stats.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/Stats.html)
         */
        stats: Stats;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type FstatSuccessCallback = (result: FstatSuccessCallbackResult) => void;
 
    interface FstatOption {
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: FstatCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: FstatFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: FstatSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type FtruncateCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface FtruncateFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'bad file descriptor': 无效的文件描述符;
         * - 'fail permission denied': 指定的 fd 没有写权限;
         * - 'fail the maximum size of the file storage limit is exceeded': 存储空间不足;
         * - 'fail sdcard not mounted': android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type FtruncateFailCallback = (result: FtruncateFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type FtruncateSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface FtruncateOption {
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 截断位置,默认0。如果 length 小于文件长度(单位:字节),则只有前面 length 个字节会保留在文件中,其余内容会被删除;如果 length 大于文件长度,则会对其进行扩展,并且扩展部分将填充空字节('\0')
         */
        length: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: FtruncateCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: FtruncateFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: FtruncateSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetFileInfoCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface GetFileInfoFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail file not exist': 指定的 filePath 找不到文件;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type GetFileInfoFailCallback = (
                result: GetFileInfoFailCallbackResult
            ) => void;
 
    interface GetFileInfoSuccessCallbackResult {
        /**
         * 文件大小,以字节为单位
         */
        size: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetFileInfoSuccessCallback = (
                result: GetFileInfoSuccessCallbackResult
            ) => void;
 
    interface GetFileInfoOption {
        /**
         * 要读取的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetFileInfoCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetFileInfoFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetFileInfoSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetSavedFileListCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetSavedFileListFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 文件数组
     */
    interface FileItem {
        /**
         * 文件保存时的时间戳,从1970/01/01 08:00:00 到当前时间的秒数
         */
        createTime: number;
        /**
         * 文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 本地文件大小,以字节为单位
         */
        size: number;
    }
 
    interface GetSavedFileListSuccessCallbackResult {
        /**
         * 文件数组
         */
        fileList: FileItem[];
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetSavedFileListSuccessCallback = (
                result: GetSavedFileListSuccessCallbackResult
            ) => void;
 
    interface GetSavedFileListOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetSavedFileListCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetSavedFileListFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetSavedFileListSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type MkdirCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface MkdirFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory ${dirPath}': 上级目录不存在(该错误仅在 recursive = false 时生效);
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有写权限;
         * - 'fail file already exists ${dirPath}': 有同名文件或目录(该错误仅在 recursive = false 时生效);
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type MkdirFailCallback = (result: MkdirFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type MkdirSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface MkdirOption {
        /**
         * 创建的目录路径 (本地路径)
         */
        dirPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: MkdirCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: MkdirFailCallback;
        /**
         * 需要基础库: `2.3.0`
         *
         * 是否在递归创建该目录的上级目录后再创建该目录。如果对应的上级目录已经存在,则不创建该上级目录。如 dirPath 为 a/b/c/d 且 recursive 为 true,将创建 a 目录,再在 a 目录下创建 b 目录,以此类推直至创建 a/b/c 目录下的 d 目录。
         */
        recursive?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: MkdirSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface OpenFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory "${filePath}"': 上级目录不存在;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type OpenFailCallback = (result: OpenFailCallbackResult) => void;
 
    interface OpenSuccessCallbackResult {
        /**
         * 文件描述符
         */
        fd: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type OpenSuccessCallback = (result: OpenSuccessCallbackResult) => void;
 
    interface OpenOption {
        /**
         * 文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenFailCallback;
        /**
         * 文件系统标志,默认值: 'r'
         *
         * 可选值:
         * - 'a': 打开文件用于追加。 如果文件不存在,则创建该文件;
         * - 'ax': 类似于 'a',但如果路径存在,则失败;
         * - 'a+': 打开文件用于读取和追加。 如果文件不存在,则创建该文件;
         * - 'ax+': 类似于 'a+',但如果路径存在,则失败;
         * - 'as': 打开文件用于追加(在同步模式中)。 如果文件不存在,则创建该文件;
         * - 'as+': 打开文件用于读取和追加(在同步模式中)。 如果文件不存在,则创建该文件;
         * - 'r': 打开文件用于读取。 如果文件不存在,则会发生异常;
         * - 'r+': 打开文件用于读取和写入。 如果文件不存在,则会发生异常;
         * - 'w': 打开文件用于写入。 如果文件不存在则创建文件,如果文件存在则截断文件;
         * - 'wx': 类似于 'w',但如果路径存在,则失败;
         * - 'w+': 打开文件用于读取和写入。 如果文件不存在则创建文件,如果文件存在则截断文件;
         * - 'wx+': 类似于 'w+',但如果路径存在,则失败;
         */
        flag?: "a" | "ax" | "a+" | "ax+" | "as" | "as+" | "r" | "r+" | "w" | "wx" | "w+" | "wx+";
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ReadCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface ReadFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'bad file descriptor': 无效的文件描述符;
         * - 'fail permission denied': 指定的 fd 路径没有读权限;
         * - 'fail the value of "offset" is out of range': 传入的 offset 不合法;
         * - 'fail the value of "length" is out of range': 传入的 length 不合法;
         * - 'fail sdcard not mounted': android sdcard 挂载失败;
         * - 'bad file descriptor': 无效的文件描述符;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type ReadFailCallback = (result: ReadFailCallbackResult) => void;
 
    interface ReadSuccessCallbackResult {
        /**
         * 被写入的缓存区的对象,即接口入参的 arrayBuffer
         */
        arrayBuffer: ArrayBuffer;
        /**
         * 实际读取的字节数
         */
        bytesRead: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ReadSuccessCallback = (result: ReadSuccessCallbackResult) => void;
 
    interface ReadOption {
        /**
         * 数据写入的缓冲区,必须是 ArrayBuffer 实例
         */
        arrayBuffer: ArrayBuffer;
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ReadCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ReadFailCallback;
        /**
         * 要从文件中读取的字节数,默认0
         */
        length?: number;
        /**
         * 缓冲区中的写入偏移量,默认0
         */
        offset?: number;
        /**
         * 文件读取的起始位置,如不传或传 null,则会从当前文件指针的位置读取。如果 position 是正整数,则文件指针位置会保持不变并从 position 读取文件。
         */
        position?: number;
        /**
         * 接口调用成功的回调函数
         */
        success?: ReadSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ReadCompressedFileCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface ReadCompressedFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail decompress fail': 指定的 compressionAlgorithm 与文件实际压缩格式不符;
         * - 'fail no such file or directory, open ${filePath}': 指定的 filePath 所在目录不存在;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有读权限;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type ReadCompressedFileFailCallback = (
                result: ReadCompressedFileFailCallbackResult
            ) => void;
 
    interface ReadCompressedFileSuccessCallbackResult {
        /**
         * 文件内容
         */
        data: ArrayBuffer;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ReadCompressedFileSuccessCallback = (
                result: ReadCompressedFileSuccessCallbackResult
            ) => void;
 
    interface ReadCompressedFileOption {
        /**
         * 文件压缩类型,目前仅支持 'br'。
         *
         * 可选值:
         * - 'br': brotli压缩文件;
         */
        compressionAlgorithm: "br";
        /**
         * 要读取的文件的路径 (本地用户文件或代码包文件)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ReadCompressedFileCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ReadCompressedFileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ReadCompressedFileSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ReadFileCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface ReadFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory, open ${filePath}': 指定的 filePath 所在目录不存在;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有读权限;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         * - 'native buffer exceed size limit': 文件大小超出上限(100M);
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type ReadFileFailCallback = (result: ReadFileFailCallbackResult) => void;
 
    interface ReadFileSuccessCallbackResult {
        /**
         * 文件内容
         */
        data: string | ArrayBuffer;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ReadFileSuccessCallback = (
                result: ReadFileSuccessCallbackResult
            ) => void;
 
    interface ReadFileOption {
        /**
         * 要读取的文件的路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ReadFileCompleteCallback;
        /**
         * 指定读取文件的字符编码,如果不传 encoding,则以 ArrayBuffer 格式读取文件的二进制内容
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': ;
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 接口调用失败的回调函数
         */
        fail?: ReadFileFailCallback;
        /**
         * 需要基础库: `2.10.0`
         *
         * 指定文件的长度,如果不指定,则读到文件末尾。有效范围:[1, fileLength]。单位:byte
         */
        length?: number;
        /**
         * 需要基础库: `2.10.0`
         *
         * 从文件指定位置开始读,如果不指定,则从文件头开始读。读取的范围应该是左闭右开区间 [position, position+length)。有效范围:[0, fileLength - 1]。单位:byte
         */
        position?: number;
        /**
         * 接口调用成功的回调函数
         */
        success?: ReadFileSuccessCallback;
    }
 
    /**
     * 要读取的压缩包内的文件列表(当传入"all" 时表示读取压缩包内所有文件)
     */
    interface EntryItem {
        /**
         * 压缩包内文件路径
         */
        path: string;
        /**
         * 指定读取文件的字符编码,如果不传 encoding,则以 ArrayBuffer 格式读取文件的二进制内容
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': ;
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 指定文件的长度,如果不指定,则读到文件末尾。有效范围:[1, fileLength]。单位:byte
         */
        length?: number;
        /**
         * 从文件指定位置开始读,如果不指定,则从文件头开始读。读取的范围应该是左闭右开区间 [position, position+length)。有效范围:[0, fileLength - 1]。单位:byte
         */
        position?: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ReadZipEntryCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface ReadZipEntryFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory, open ${filePath}': 指定的 filePath 所在目录不存在;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有读权限;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type ReadZipEntryFailCallback = (
                result: ReadZipEntryFailCallbackResult
            ) => void;
 
    /**
     * 文件读取结果。res.entries 是一个对象,key是文件路径,value是一个对象 FileItem ,表示该文件的读取结果。每个 FileItem 包含 data (文件内容) 和 errMsg (错误信息) 属性。
     */
    interface EntriesResult {
    }
 
    interface ReadZipEntrySuccessCallbackResult {
        /**
         * 文件读取结果。res.entries 是一个对象,key是文件路径,value是一个对象 FileItem ,表示该文件的读取结果。每个 FileItem 包含 data (文件内容) 和 errMsg (错误信息) 属性。
         */
        entries: EntriesResult;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ReadZipEntrySuccessCallback = (
                result: ReadZipEntrySuccessCallbackResult
            ) => void;
 
    interface ReadZipEntryOption {
        /**
         * 要读取的压缩包内的文件列表(当传入"all" 时表示读取压缩包内所有文件)
         */
        entries: EntryItem[] | "all";
        /**
         * 要读取的压缩包的路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ReadZipEntryCompleteCallback;
        /**
         * 统一指定读取文件的字符编码,只在 entries 值为"all"时有效。如果 entries 值为"all"且不传 encoding,则以 ArrayBuffer 格式读取文件的二进制内容
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': ;
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 接口调用失败的回调函数
         */
        fail?: ReadZipEntryFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ReadZipEntrySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ReaddirCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface ReaddirFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory ${dirPath}': 目录不存在;
         * - 'fail not a directory ${dirPath}': dirPath 不是目录;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有读权限;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type ReaddirFailCallback = (result: ReaddirFailCallbackResult) => void;
 
    interface ReaddirSuccessCallbackResult {
        /**
         * 指定目录下的文件名数组。
         */
        files: string[];
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ReaddirSuccessCallback = (result: ReaddirSuccessCallbackResult) => void;
 
    interface ReaddirOption {
        /**
         * 要读取的目录路径 (本地路径)
         */
        dirPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ReaddirCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ReaddirFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ReaddirSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RemoveSavedFileCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface RemoveSavedFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail file not exist': 指定的 tempFilePath 找不到文件;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type RemoveSavedFileFailCallback = (
                result: RemoveSavedFileFailCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RemoveSavedFileSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface RemoveSavedFileOption {
        /**
         * 需要删除的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RemoveSavedFileCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RemoveSavedFileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RemoveSavedFileSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RenameCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface RenameFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail permission denied, rename ${oldPath} -> ${newPath}': 指定源文件或目标文件没有写权限;
         * - 'fail no such file or directory, rename ${oldPath} -> ${newPath}': 源文件不存在,或目标文件路径的上层目录不存在;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type RenameFailCallback = (result: RenameFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RenameSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface RenameOption {
        /**
         * 新文件路径,支持本地路径
         */
        newPath: string;
        /**
         * 源文件路径,支持本地路径
         */
        oldPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RenameCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RenameFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RenameSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RmdirCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface RmdirFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory ${dirPath}': 目录不存在;
         * - 'fail directory not empty': 目录不为空;
         * - 'fail permission denied, open ${dirPath}': 指定的 dirPath 路径没有写权限;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type RmdirFailCallback = (result: RmdirFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RmdirSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface RmdirOption {
        /**
         * 要删除的目录路径 (本地路径)
         */
        dirPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RmdirCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RmdirFailCallback;
        /**
         * 需要基础库: `2.3.0`
         *
         * 是否递归删除目录。如果为 true,则删除该目录和该目录下的所有子目录以及文件。
         */
        recursive?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: RmdirSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SaveFileCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface SaveFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail tempFilePath file not exist': 指定的 tempFilePath 找不到文件;
         * - 'fail permission denied, open "${filePath}"': 指定的 filePath 路径没有写权限;
         * - 'fail no such file or directory "${dirPath}"': 上级目录不存在;
         * - 'fail the maximum size of the file storage limit is exceeded': 存储空间不足;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type SaveFileFailCallback = (result: SaveFileFailCallbackResult) => void;
 
    interface SaveFileSuccessCallbackResult {
        /**
         * 存储后的文件路径 (本地路径)
         */
        savedFilePath: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type SaveFileSuccessCallback = (
                result: SaveFileSuccessCallbackResult
            ) => void;
 
    interface SaveFileOption {
        /**
         * 临时存储文件路径 (本地路径)
         */
        tempFilePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SaveFileCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SaveFileFailCallback;
        /**
         * 要存储的文件路径 (本地路径)
         */
        filePath?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: SaveFileSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StatCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface StatFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail permission denied, open ${path}': 指定的 path 路径没有读权限;
         * - 'fail no such file or directory ${path}': 文件不存在;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type StatFailCallback = (result: StatFailCallbackResult) => void;
 
    interface StatSuccessCallbackResult {
        /**
         * [Stats](https://developers.weixin.qq.com/miniprogram/dev/api/file/Stats.html)|Array.<[Stats](https://developers.weixin.qq.com/miniprogram/dev/api/file/Stats.html)>
         *
         * 当 recursive 为 false 时,res.stats 是一个 Stats 对象。当 recursive 为 true 且 path 是一个目录的路径时,res.stats 是一个 Array,数组的每一项是一个对象,每个对象包含 path 和 stats。
         */
        stats: Stats | Stats[];
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type StatSuccessCallback = (result: StatSuccessCallbackResult) => void;
 
    interface StatOption {
        /**
         * 文件/目录路径 (本地路径)
         */
        path: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StatCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StatFailCallback;
        /**
         * 需要基础库: `2.3.0`
         *
         * 是否递归获取目录下的每个文件的 Stats 信息
         */
        recursive?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: StatSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type TruncateCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface TruncateFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory, open ${filePath}': 指定的 filePath 所在目录不存在;
         * - 'fail illegal operation on a directory, open "${filePath}"': 指定的 filePath 是一个已经存在的目录;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有写权限;
         * - 'fail the maximum size of the file storage limit is exceeded': 存储空间不足;
         * - 'fail sdcard not mounted': android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type TruncateFailCallback = (result: TruncateFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type TruncateSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface TruncateOption {
        /**
         * 要截断的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: TruncateCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: TruncateFailCallback;
        /**
         * 截断位置,默认0。如果 length 小于文件长度(字节),则只有前面 length 个字节会保留在文件中,其余内容会被删除;如果 length 大于文件长度,则会对其进行扩展,并且扩展部分将填充空字节('\0')
         */
        length?: number;
        /**
         * 接口调用成功的回调函数
         */
        success?: TruncateSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type UnlinkCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface UnlinkFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail permission denied, open ${path}': 指定的 path 路径没有读权限;
         * - 'fail no such file or directory ${path}': 文件不存在;
         * - 'fail operation not permitted, unlink ${filePath}': 传入的 filePath 是一个目录;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type UnlinkFailCallback = (result: UnlinkFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type UnlinkSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface UnlinkOption {
        /**
         * 要删除的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: UnlinkCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: UnlinkFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: UnlinkSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type UnzipCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface UnzipFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail permission denied, unzip ${zipFilePath} -> ${destPath}': 指定目标文件路径没有写权限;
         * - 'fail no such file or directory, unzip ${zipFilePath} -> "${destPath}': 源文件不存在,或目标文件路径的上层目录不存在;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type UnzipFailCallback = (result: UnzipFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type UnzipSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface UnzipOption {
        /**
         * 目标目录路径, 支持本地路径
         */
        targetPath: string;
        /**
         * 源文件路径,支持本地路径, 只可以是 zip 压缩文件
         */
        zipFilePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: UnzipCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: UnzipFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: UnzipSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type WriteCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface WriteFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'bad file descriptor': 无效的文件描述符;
         * - 'fail permission denied': 指定的 fd 路径没有写权限;
         * - 'fail sdcard not mounted': android sdcard 挂载失败;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type WriteFailCallback = (result: WriteFailCallbackResult) => void;
 
    interface WriteSuccessCallbackResult {
        /**
         * 实际被写入到文件中的字节数(注意,被写入的字节数不一定与被写入的字符串字符数相同)
         */
        bytesWritten: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type WriteSuccessCallback = (result: WriteSuccessCallbackResult) => void;
 
    interface WriteOption {
        /**
         * 写入的内容,类型为 String 或 ArrayBuffer
         */
        data: string | ArrayBuffer;
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: WriteCompleteCallback;
        /**
         * 只在 data 类型是 String 时有效,指定写入文件的字符编码,默认为 utf8
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': ;
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 接口调用失败的回调函数
         */
        fail?: WriteFailCallback;
        /**
         * 只在 data 类型是 ArrayBuffer 时有效,指定要写入的字节数,默认为 arrayBuffer 从0开始偏移 offset 个字节后剩余的字节数
         */
        length?: number;
        /**
         * 只在 data 类型是 ArrayBuffer 时有效,决定 arrayBuffe 中要被写入的部位,即 arrayBuffer 中的索引,默认0
         */
        offset?: number;
        /**
         * 指定文件开头的偏移量,即数据要被写入的位置。当 position 不传或者传入非 Number 类型的值时,数据会被写入当前指针所在位置。
         */
        position?: number;
        /**
         * 接口调用成功的回调函数
         */
        success?: WriteSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type WriteFileCompleteCallback = (res: GeneralCallbackResult) => void;
 
    interface WriteFileFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'fail no such file or directory, open ${filePath}': 指定的 filePath 所在目录不存在;
         * - 'fail permission denied, open ${dirPath}': 指定的 filePath 路径没有写权限;
         * - 'fail the maximum size of the file storage limit is exceeded': 存储空间不足;
         * - 'fail sdcard not mounted': Android sdcard 挂载失败;
         * - 'fail base64 encode error': base64 格式错误;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type WriteFileFailCallback = (result: WriteFileFailCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type WriteFileSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface WriteFileOption {
        /**
         * 要写入的文本或二进制数据
         */
        data: string | ArrayBuffer;
        /**
         * 要写入的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: WriteFileCompleteCallback;
        /**
         * 指定写入文件的字符编码
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': (注意,选择 base64 编码,data 只需要传 base64 内容本身,不要传 Data URI 前缀,否则会报 fail base64 encode error 错误。例如,传 aGVsbG8= 而不是传 data:image/png;base64,aGVsbG8= );
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 接口调用失败的回调函数
         */
        fail?: WriteFileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: WriteFileSuccessCallback;
    }
 
    interface ReadSyncOption {
        /**
         * 数据写入的缓冲区,必须是 ArrayBuffer 实例
         */
        arrayBuffer: ArrayBuffer;
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 要从文件中读取的字节数,默认0
         */
        length?: number;
        /**
         * 缓冲区中的写入偏移量,默认0
         */
        offset?: number;
        /**
         * 文件读取的起始位置,如不传或传 null,则会从当前文件指针的位置读取。如果 position 是正整数,则文件指针位置会保持不变并从 position 读取文件。
         */
        position?: number;
    }
 
    /**
     * 文件读取结果。 通过 [FileSystemManager.readSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readSync.html) 接口返回
     */
    interface ReadResult {
        /**
         * 被写入的缓存区的对象,即接口入参的 arrayBuffer
         */
        arrayBuffer: ArrayBuffer;
        /**
         * 实际读取的字节数
         */
        bytesRead: number;
    }
 
    interface FstatSyncOption {
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
    }
 
    interface WriteSyncOption {
        /**
         * 写入的内容,类型为 String 或 ArrayBuffer
         */
        data: string | ArrayBuffer;
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 只在 data 类型是 String 时有效,指定写入文件的字符编码,默认为 utf8
         *
         * 可选值:
         * - 'ascii': ;
         * - 'base64': ;
         * - 'binary': ;
         * - 'hex': ;
         * - 'ucs2': 以小端序读取;
         * - 'ucs-2': 以小端序读取;
         * - 'utf16le': 以小端序读取;
         * - 'utf-16le': 以小端序读取;
         * - 'utf-8': ;
         * - 'utf8': ;
         * - 'latin1': ;
         */
        encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1";
        /**
         * 只在 data 类型是 ArrayBuffer 时有效,指定要写入的字节数,默认为 arrayBuffer 从0开始偏移 offset 个字节后剩余的字节数
         */
        length?: number;
        /**
         * 只在 data 类型是 ArrayBuffer 时有效,决定 arrayBuffe 中要被写入的部位,即 arrayBuffer 中的索引,默认0
         */
        offset?: number;
        /**
         * 指定文件开头的偏移量,即数据要被写入的位置。当 position 不传或者传入非 Number 类型的值时,数据会被写入当前指针所在位置。
         */
        position?: number;
    }
 
    /**
     * 文件写入结果。 通过 [FileSystemManager.writeSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeSync.html) 接口返回
     */
    interface WriteResult {
        /**
         * 实际被写入到文件中的字节数(注意,被写入的字节数不一定与被写入的字符串字符数相同)
         */
        bytesWritten: number;
    }
 
    interface OpenSyncOption {
        /**
         * 文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 文件系统标志,默认值: 'r'
         *
         * 可选值:
         * - 'a': 打开文件用于追加。 如果文件不存在,则创建该文件;
         * - 'ax': 类似于 'a',但如果路径存在,则失败;
         * - 'a+': 打开文件用于读取和追加。 如果文件不存在,则创建该文件;
         * - 'ax+': 类似于 'a+',但如果路径存在,则失败;
         * - 'as': 打开文件用于追加(在同步模式中)。 如果文件不存在,则创建该文件;
         * - 'as+': 打开文件用于读取和追加(在同步模式中)。 如果文件不存在,则创建该文件;
         * - 'r': 打开文件用于读取。 如果文件不存在,则会发生异常;
         * - 'r+': 打开文件用于读取和写入。 如果文件不存在,则会发生异常;
         * - 'w': 打开文件用于写入。 如果文件不存在则创建文件,如果文件存在则截断文件;
         * - 'wx': 类似于 'w',但如果路径存在,则失败;
         * - 'w+': 打开文件用于读取和写入。 如果文件不存在则创建文件,如果文件存在则截断文件;
         * - 'wx+': 类似于 'w+',但如果路径存在,则失败;
         */
        flag?: "a" | "ax" | "a+" | "ax+" | "as" | "as+" | "r" | "r+" | "w" | "wx" | "w+" | "wx+";
    }
 
    interface CloseSyncOption {
        /**
         * 需要被关闭的文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
    }
 
    interface FtruncateSyncOption {
        /**
         * 文件描述符。fd 通过 [FileSystemManager.open](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html) 或 [FileSystemManager.openSync](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html) 接口获得
         */
        fd: string;
        /**
         * 截断位置,默认0。如果 length 小于文件长度(单位:字节),则只有前面 length 个字节会保留在文件中,其余内容会被删除;如果 length 大于文件长度,则会对其进行扩展,并且扩展部分将填充空字节('\0')
         */
        length: number;
    }
 
    interface TruncateSyncOption {
        /**
         * 要截断的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 截断位置,默认0。如果 length 小于文件长度(字节),则只有前面 length 个字节会保留在文件中,其余内容会被删除;如果 length 大于文件长度,则会对其进行扩展,并且扩展部分将填充空字节('\0')
         */
        length?: number;
    }
 
    interface FileSystemManager {
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.readdir](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readdir.html) 的同步版本
         *
         * **注意事项</title>
         * - readdir接口无法访问文件系统根路径(wxfile://)。
         * <title>示例代码**
         *
         * ```js
         * const fs = wx.getFileSystemManager()
         * fs.readdir({
         * dirPath: `${wx.env.USER_DATA_PATH}/example`,
         * success(res) {
         * console.log(res.files)
         * },
         * fail(res) {
         * console.error(res)
         * }
         * })
         *
         * // 同步接口
         * try {
         * const res = fs.readdirSync(`${wx.env.USER_DATA_PATH}/example`)
         * console.log(res)
         * } catch(e) {
         * console.error(e)
         * }
         * ```
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readdirSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readdirSync.html)
         */
        readdirSync(dirPath: string): string[];
        /**
         *
         * 需要基础库: `2.21.1`
         *
         * 在插件中使用:不支持
         *
         * 同步读取指定压缩类型的本地文件内容
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readCompressedFileSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readCompressedFileSync.html)
         */
        readCompressedFileSync(option: ReadCompressedFileSyncOption): ArrayBuffer;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 判断文件/目录是否存在
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.access.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.access.html)
         */
        access(option: AccessOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.access](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.access.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.accessSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.accessSync.html)
         */
        accessSync(path: string): void;
        /**
         *
         * 需要基础库: `2.1.0`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 在文件结尾追加内容
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.appendFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.appendFile.html)
         */
        appendFile(option: AppendFileOption): void;
        /**
         *
         * 需要基础库: `2.1.0`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.appendFile](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.appendFile.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.appendFileSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.appendFileSync.html)
         */
        appendFileSync(filePath: string, data: string | ArrayBuffer, encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1"): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 关闭文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.close.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.close.html)
         */
        close(option: FileSystemManagerCloseOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 复制文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.copyFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.copyFile.html)
         */
        copyFile(option: CopyFileOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.copyFile](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.copyFile.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.copyFileSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.copyFileSync.html)
         */
        copyFileSync(srcPath: string, destPath: string): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 获取文件的状态信息
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.fstat.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.fstat.html)
         */
        fstat(option: FstatOption): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 对文件内容进行截断操作
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.ftruncate.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.ftruncate.html)
         */
        ftruncate(option: FtruncateOption): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 获取该小程序下的 本地临时文件 或 本地缓存文件 信息
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.getFileInfo.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.getFileInfo.html)
         */
        getFileInfo(option: GetFileInfoOption): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 获取该小程序下已保存的本地缓存文件列表
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.getSavedFileList.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.getSavedFileList.html)
         */
        getSavedFileList(option?: GetSavedFileListOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 创建目录
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.mkdir.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.mkdir.html)
         */
        mkdir(option: MkdirOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.mkdir](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.mkdir.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.mkdirSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.mkdirSync.html)
         */
        mkdirSync(dirPath: string, recursive?: boolean): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 打开文件,返回文件描述符
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.open.html)
         */
        open(option: OpenOption): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 读文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.read.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.read.html)
         */
        read(option: ReadOption): void;
        /**
         *
         * 需要基础库: `2.21.1`
         *
         * 在插件中使用:不支持
         *
         * 读取指定压缩类型的本地文件内容
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readCompressedFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readCompressedFile.html)
         */
        readCompressedFile(option: ReadCompressedFileOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 读取本地文件内容。单个文件大小上限为100M。
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readFile.html)
         */
        readFile(option: ReadFileOption): void;
        /**
         *
         * 需要基础库: `2.17.3`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 读取压缩包内的文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readZipEntry.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readZipEntry.html)
         */
        readZipEntry(option: ReadZipEntryOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 读取目录内文件列表
         *
         * **注意事项</title>
         * - readdir接口无法访问文件系统根路径(wxfile://)。
         * <title>示例代码**
         *
         * ```js
         * const fs = wx.getFileSystemManager()
         * fs.readdir({
         * dirPath: `${wx.env.USER_DATA_PATH}/example`,
         * success(res) {
         * console.log(res.files)
         * },
         * fail(res) {
         * console.error(res)
         * }
         * })
         *
         * // 同步接口
         * try {
         * const res = fs.readdirSync(`${wx.env.USER_DATA_PATH}/example`)
         * console.log(res)
         * } catch(e) {
         * console.error(e)
         * }
         * ```
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readdir.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readdir.html)
         */
        readdir(option: ReaddirOption): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 删除该小程序下已保存的本地缓存文件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.removeSavedFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.removeSavedFile.html)
         */
        removeSavedFile(option: RemoveSavedFileOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 重命名文件。可以把文件从 oldPath 移动到 newPath
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rename.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rename.html)
         */
        rename(option: RenameOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.rename](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rename.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.renameSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.renameSync.html)
         */
        renameSync(oldPath: string, newPath: string): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 删除目录
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rmdir.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rmdir.html)
         */
        rmdir(option: RmdirOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.rmdir](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rmdir.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rmdirSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.rmdirSync.html)
         */
        rmdirSync(dirPath: string, recursive?: boolean): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 保存临时文件到本地。此接口会移动临时文件,因此调用成功后,tempFilePath 将不可用。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.saveFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.saveFile.html)
         */
        saveFile(option: SaveFileOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 获取文件 Stats 对象
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.stat.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.stat.html)
         */
        stat(option: StatOption): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 对文件内容进行截断操作
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.truncate.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.truncate.html)
         */
        truncate(option: TruncateOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 删除文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unlink.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unlink.html)
         */
        unlink(option: UnlinkOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.unlink](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unlink.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unlinkSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unlinkSync.html)
         */
        unlinkSync(filePath: string): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 解压文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unzip.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.unzip.html)
         */
        unzip(option: UnzipOption): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 写入文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.write.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.write.html)
         */
        write(option: WriteOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 写文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeFile.html)
         */
        writeFile(option: WriteFileOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.writeFile](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeFile.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeFileSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeFileSync.html)
         */
        writeFileSync(filePath: string, data: string | ArrayBuffer, encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1"): void;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 读文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readSync.html)
         */
        readSync(option: ReadSyncOption): ReadResult;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 同步获取文件的状态信息
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.fstatSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.fstatSync.html)
         */
        fstatSync(option: FstatSyncOption): Stats;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.stat](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.stat.html) 的同步版本
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.statSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.statSync.html)
         */
        statSync(path: string, recursive?: boolean): Stats | Stats[];
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 同步写入文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.writeSync.html)
         */
        writeSync(option: WriteSyncOption): WriteResult;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 同步打开文件,返回文件描述符
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.openSync.html)
         */
        openSync(option: OpenSyncOption): string;
        /**
         *
         * 在插件中使用:不支持
         *
         * [FileSystemManager.saveFile](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.saveFile.html) 的同步版本
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.saveFileSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.saveFileSync.html)
         */
        saveFileSync(tempFilePath: string, filePath?: string): string;
        /**
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * [FileSystemManager.readFile](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readFile.html) 的同步版本
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readFileSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.readFileSync.html)
         */
        readFileSync(filePath: string, encoding?: "ascii" | "base64" | "binary" | "hex" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "utf-8" | "utf8" | "latin1", position?: number, length?: number): string | ArrayBuffer;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 同步关闭文件
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.closeSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.closeSync.html)
         */
        closeSync(option: CloseSyncOption): undefined;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 对文件内容进行截断操作
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.ftruncateSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.ftruncateSync.html)
         */
        ftruncateSync(option: FtruncateSyncOption): undefined;
        /**
         *
         * 需要基础库: `2.16.1`
         *
         * 在插件中使用:需要基础库 `2.19.2`
         *
         * 对文件内容进行截断操作 (truncate 的同步版本)
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.truncateSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.truncateSync.html)
         */
        truncateSync(option: TruncateSyncOption): undefined;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ExitFullScreenCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ExitFullScreenFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ExitFullScreenSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ExitFullScreenOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ExitFullScreenCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ExitFullScreenFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ExitFullScreenSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ExitPictureInPictureCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ExitPictureInPictureFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ExitPictureInPictureSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface ExitPictureInPictureOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ExitPictureInPictureCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ExitPictureInPictureFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ExitPictureInPictureSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type MuteCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type MuteFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type MuteSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface MuteOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: MuteCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: MuteFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: MuteSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PauseCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PauseFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PauseSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PauseOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PauseCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PauseFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PauseSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PlayCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PlayFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PlaySuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PlayOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PlayCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PlayFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PlaySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RequestFullScreenCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type RequestFullScreenFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RequestFullScreenSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface LivePlayerContextRequestFullScreenOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RequestFullScreenCompleteCallback;
        /**
         * 设置全屏时的方向
         *
         * 可选值:
         * - 0: 正常竖向;
         * - 90: 屏幕逆时针90度;
         * - -90: 屏幕顺时针90度;
         */
        direction?: 0 | 90 | -90;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RequestFullScreenFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RequestFullScreenSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RequestPictureInPictureCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type RequestPictureInPictureFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RequestPictureInPictureSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface RequestPictureInPictureOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RequestPictureInPictureCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RequestPictureInPictureFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RequestPictureInPictureSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ResumeCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ResumeFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ResumeSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ResumeOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ResumeCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ResumeFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ResumeSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SnapshotCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SnapshotFailCallback = (res: GeneralCallbackResult) => void;
 
    interface LivePlayerContextSnapshotSuccessCallbackResult {
        /**
         * 图片的高度
         */
        height: string;
        /**
         * 图片文件的临时路径 (本地路径)
         */
        tempImagePath: string;
        /**
         * 图片的宽度
         */
        width: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type LivePlayerContextSnapshotSuccessCallback = (
                result: LivePlayerContextSnapshotSuccessCallbackResult
            ) => void;
 
    interface LivePlayerContextSnapshotOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SnapshotCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SnapshotFailCallback;
        /**
         * 需要基础库: `2.10.0`
         *
         * 图片的质量
         *
         * 可选值:
         * - 'raw': 原图;
         * - 'compressed': 压缩图;
         */
        quality?: "raw" | "compressed";
        /**
         * 需要基础库: `2.25.0`
         *
         * 截取的源类型
         *
         * 可选值:
         * - 'stream': 截取视频源;
         * - 'view': 截取渲染后的画面;
         */
        sourceType?: "stream" | "view";
        /**
         * 接口调用成功的回调函数
         */
        success?: LivePlayerContextSnapshotSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface StopOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopSuccessCallback;
    }
 
    interface LivePlayerContext {
        /**
         *
         * 在插件中使用:支持
         *
         * 退出全屏
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.exitFullScreen.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.exitFullScreen.html)
         */
        exitFullScreen(option?: ExitFullScreenOption): void;
        /**
         *
         * 在插件中使用:支持
         *
         * 退出小窗,该方法可在任意页面调用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.exitPictureInPicture.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.exitPictureInPicture.html)
         */
        exitPictureInPicture(option?: ExitPictureInPictureOption): void;
        /**
         *
         * 在插件中使用:支持
         *
         * 静音
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.mute.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.mute.html)
         */
        mute(option?: MuteOption): void;
        /**
         *
         * 需要基础库: `1.9.90`
         *
         * 在插件中使用:支持
         *
         * 暂停
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.pause.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.pause.html)
         */
        pause(option?: PauseOption): void;
        /**
         *
         * 在插件中使用:支持
         *
         * 播放
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.play.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.play.html)
         */
        play(option?: PlayOption): void;
        /**
         *
         * 在插件中使用:支持
         *
         * 进入全屏
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.requestFullScreen.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.requestFullScreen.html)
         */
        requestFullScreen(option: LivePlayerContextRequestFullScreenOption): void;
        /**
         *
         * 需要基础库: `2.15.0`
         *
         * 在插件中使用:支持
         *
         * 进入小窗
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.requestPictureInPicture.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.requestPictureInPicture.html)
         */
        requestPictureInPicture(option?: RequestPictureInPictureOption): void;
        /**
         *
         * 需要基础库: `1.9.90`
         *
         * 在插件中使用:支持
         *
         * 恢复
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.resume.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.resume.html)
         */
        resume(option?: ResumeOption): void;
        /**
         *
         * 需要基础库: `2.7.1`
         *
         * 在插件中使用:支持
         *
         * 截图
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.snapshot.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.snapshot.html)
         */
        snapshot(option: LivePlayerContextSnapshotOption): void;
        /**
         *
         * 在插件中使用:支持
         *
         * 停止
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.stop.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.stop.html)
         */
        stop(option?: StopOption): void;
    }
 
    interface GetLogManagerOption {
        /**
         * 需要基础库: `2.3.2`
         *
         * 取值为0/1,取值为0表示会把 `App`、`Page` 的生命周期函数和 uni 命名空间下的函数调用写入日志,取值为1则不会。默认值是 0
         */
        level?: number;
    }
 
    interface LogManager {
        /**
         *
         * 在插件中使用:不支持
         *
         * 写 debug 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.debug.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.debug.html)
         */
        debug(args: any[]): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 写 info 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.info.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.info.html)
         */
        info(args: any[]): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 写 log 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.log.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.log.html)
         */
        log(args: any[]): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 写 warn 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.warn.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/LogManager.warn.html)
         */
        warn(args: any[]): void;
    }
 
    /**
     * MediaAudioPlayer 实例,可通过 [uni.createMediaAudioPlayer](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createMediaAudioPlayer.html) 接口获取实例。
     */
    interface MediaAudioPlayer {
        /**
         * 音量。范围 0~1。默认为 1
         */
        volume: number;
    }
 
    /**
     * 需要基础库: `2.9.0`
     *
     * 可通过 [MediaContainer.extractDataSource](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.extractDataSource.html) 返回。
     *
     * [MediaTrack](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaTrack.html) 音频或视频轨道,可以对轨道进行一些操作
     */
    interface MediaTrack {
        /**
         * 轨道长度,只读
         */
        duration: number;
        /**
         * 轨道类型,只读
         *
         * 可选值:
         * - 'audio': 音频轨道;
         * - 'video': 视频轨道;
         */
        kind: "audio" | "video";
        /**
         * 音量,音频轨道下有效,可写
         */
        volume: number;
    }
 
    interface ExtractDataSourceOption {
        /**
         * 视频源地址,只支持本地文件
         */
        source: string;
    }
 
    interface MediaContainer {
        /**
         *
         * 需要基础库: `2.9.0`
         *
         * 在插件中使用:支持
         *
         * 将音频或视频轨道添加到容器
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.addTrack.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.addTrack.html)
         */
        addTrack(track: MediaTrack): void;
        /**
         *
         * 需要基础库: `2.9.0`
         *
         * 在插件中使用:支持
         *
         * 将容器销毁,释放资源
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.destroy.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.destroy.html)
         */
        destroy(): void;
        /**
         *
         * 需要基础库: `2.9.0`
         *
         * 在插件中使用:支持
         *
         * 将容器内的轨道合并并导出视频文件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.export.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.export.html)
         */
        export(): void;
        /**
         *
         * 需要基础库: `2.9.0`
         *
         * 在插件中使用:支持
         *
         * 将传入的视频源分离轨道。不会自动将轨道添加到待合成的容器里。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.extractDataSource.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.extractDataSource.html)
         */
        extractDataSource(option: ExtractDataSourceOption): void;
        /**
         *
         * 需要基础库: `2.9.0`
         *
         * 在插件中使用:支持
         *
         * 将音频或视频轨道从容器中移除
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.removeTrack.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/MediaContainer.removeTrack.html)
         */
        removeTrack(track: MediaTrack): void;
    }
 
    interface CreateMediaRecorderOption {
        /**
         * 指定录制的时长(s),到达自动停止。最大 7200,最小 5
         */
        duration?: number;
        /**
         * 视频 fps
         */
        fps?: number;
        /**
         * 视频关键帧间隔
         */
        gop?: number;
        /**
         * 视频比特率(kbps),最小值 600,最大值 3000
         */
        videoBitsPerSecond?: number;
    }
 
    interface MediaRecorder {
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 取消监听录制事件。当对应事件触发时,该回调函数不再执行。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.off.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.off.html)
         */
        off(eventName: string, callback: (...args: any[]) => any): void;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 注册监听录制事件的回调函数。当对应事件触发时,回调函数会被执行。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.on.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.on.html)
         */
        on(eventName: "start" | "stop" | "pause" | "resume" | "timeupdate", callback: (...args: any[]) => any): void;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 销毁录制器
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.destroy.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.destroy.html)
         */
        destroy(): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 暂停录制
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.pause.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.pause.html)
         */
        pause(): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 请求下一帧录制,在 callback 里完成一帧渲染后开始录制当前帧
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.requestFrame.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.requestFrame.html)
         */
        requestFrame(callback: (...args: any[]) => any): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 恢复录制
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.resume.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.resume.html)
         */
        resume(): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 开始录制
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.start.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.start.html)
         */
        start(): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 结束录制
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.stop.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/MediaRecorder.stop.html)
         */
        stop(): Promise<any>;
    }
 
    /**
     * 标签类型枚举
     */
    interface TechType {
        /**
         * 对应IsoDep实例,实例支持ISO-DEP (ISO 14443-4)标准的读写
         */
        isoDep: string;
        /**
         * 对应MifareClassic实例,实例支持MIFARE Classic标签的读写
         */
        mifareClassic: string;
        /**
         * 对应MifareUltralight实例,实例支持MIFARE Ultralight标签的读写
         */
        mifareUltralight: string;
        /**
         * 对应Ndef实例,实例支持对NDEF格式的NFC标签上的NDEF数据的读写
         */
        ndef: string;
        /**
         * 对应NfcA实例,实例支持NFC-A (ISO 14443-3A)标准的读写
         */
        nfcA: string;
        /**
         * 对应NfcB实例,实例支持NFC-B (ISO 14443-3B)标准的读写
         */
        nfcB: string;
        /**
         * 对应NfcF实例,实例支持NFC-F (JIS 6319-4)标准的读写
         */
        nfcF: string;
        /**
         * 对应NfcV实例,实例支持NFC-V (ISO 15693)标准的读写
         */
        nfcV: string;
    }
 
    /**
     * 需要基础库: `2.11.2`
     */
    interface NFCAdapter {
        /**
         * 标签类型枚举
         */
        tech: TechType;
    }
 
    /**
     * 需要基础库: `2.7.0`
     *
     * 离屏 canvas 实例,可通过 [uni.createOffscreenCanvas](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.createOffscreenCanvas.html) 创建。
     */
    interface OffscreenCanvas {
        /**
         * 画布高度
         */
        height: number;
        /**
         * 画布宽度
         */
        width: number;
    }
 
    interface CreateOffscreenCanvasOption {
        /**
         * 在自定义组件下,当前组件实例的 this
         */
        compInst?: any;
        /**
         * 画布高度
         */
        height?: number;
        /**
         * 创建的离屏 canvas 类型
         *
         * 可选值:
         * - 'webgl': webgl类型上下文;
         * - '2d': 2d类型上下文;
         */
        type?: "webgl" | "2d";
        /**
         * 画布宽度
         */
        width?: number;
    }
 
    /**
     * 单条性能数据。具体数据口径请参考[性能数据文档]((performance/perf_data##_1-4-%E9%80%9A%E8%BF%87-wx-getPerformance-%E5%9C%A8%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%86%85%E8%8E%B7%E5%8F%96))
     */
    interface PerformanceEntry {
        /**
         * 需要基础库: `2.24.0`
         *
         * 解析域名结束时间。仅 resourceTiming 指标有效。
         */
        domainLookupEnd: number;
        /**
         * 需要基础库: `2.24.0`
         *
         * 解析域名开始时间。仅 resourceTiming 指标有效。
         */
        domainLookupStart: number;
        /**
         * 耗时 ms。仅对于表示阶段的指标有效。
         */
        duration: number;
        /**
         * 指标类型
         *
         * 可选值:
         * - 'navigation': 路由;
         * - 'render': 渲染;
         * - 'script': 脚本;
         */
        entryType: "navigation" | "render" | "script";
        /**
         * 需要基础库: `2.21.2`
         *
         * 注入文件列表。仅 evaluateScript 指标有效。
         */
        fileList: string[];
        /**
         * 需要基础库: `2.21.2`
         *
         * 首次渲染参数在渲染层收到的时间。仅 firstRender 指标有效。
         */
        initDataRecvTime: number;
        /**
         * 需要基础库: `2.21.2`
         *
         * 首次渲染参数从逻辑层发出的时间。仅 firstRender 指标有效。
         */
        initDataSendTime: number;
        /**
         * 需要基础库: `2.24.0`
         *
         * 初始化性能条目的资源类型。仅 resourceTiming 指标有效。
         *
         * 可选值:
         * - 'audio': 音频;
         * - 'cover-image': cover-image 组件的图片;
         * - 'image': 组件的图片;
         * - 'open-data': 组件的图片;
         */
        initiatorType: "audio" | "cover-image" | "image" | "open-data";
        /**
         * 分包名,主包表示为 __APP__ (2.21.2 开始)。仅 evaluateScript 指标有效。
         */
        moduleName: string;
        /**
         * 指标名称
         *
         * 可选值:
         * - 'appLaunch': 小程序启动耗时。(entryType: navigation);
         * - 'route': 路由处理耗时。(entryType: navigation);
         * - 'firstRender': 页面首次渲染耗时。(entryType: render);
         * - 'firstPaint': 页面首次绘制(FP)时间点,无 duration。(iOS 不支持)(entryType: render);
         * - 'firstContentfulPaint': 页面首次内容绘制(FCP)时间点,无 duration。(iOS 14.5 以下版本不支持)(entryType: render);
         * - 'largestContentfulPaint': 页面最大内容绘制(LCP)时间点,无 duration。(iOS 不支持)(entryType: render);
         * - 'evaluateScript': 逻辑层 JS 代码注入耗时。(entryType: script);
         * - 'downloadPackage': 代码包下载耗时。(entryType: loadPackage);
         * - 'resourceTiming': 视图层资源加载耗时。(entryType: resource);
         */
        name: "appLaunch" | "route" | "firstRender" | "firstPaint" | "firstContentfulPaint" | "largestContentfulPaint" | "evaluateScript" | "downloadPackage" | "resourceTiming";
        /**
         * 路由真正响应开始时间。仅 navigation 类型指标有效。
         */
        navigationStart: number;
        /**
         * 路由详细类型,与小程序路由方法对应。仅 navigation 类型指标有效。
         */
        navigationType: string;
        /**
         * 需要基础库: `2.24.0`
         *
         * 代码包名称。仅 downloadPackage 指标有效。
         */
        packageName: string;
        /**
         * 需要基础库: `2.24.0`
         *
         * 代码包大小。仅 downloadPackage 指标有效。
         */
        packageSize: number;
        /**
         * 需要基础库: `2.23.1`
         *
         * path 对应页面实例 Id(随机生成,不保证递增)。仅 render/navigation 指标有效。
         */
        pageId: number;
        /**
         * 页面路径。仅 render 和 navigation 类型指标有效。
         */
        path: string;
        /**
         * 需要基础库: `2.23.1`
         *
         * referrerPath对应页面实例 Id(随机生成,不保证递增)。仅 route 指标有效。
         */
        referrerPageId: number;
        /**
         * 需要基础库: `2.23.1`
         *
         * 页面跳转来源页面路径。仅 route 指标有效。
         */
        referrerPath: number;
        /**
         * 开始时间,不同指标的具体含义会有差异。
         */
        startTime: number;
        /**
         * 需要基础库: `2.24.0`
         *
         * 表示获取资源的大小(以八位字节为单位)的数字。仅 resourceTiming 指标有效。(iOS 不支持)
         */
        transferSize: number;
        /**
         * 需要基础库: `2.24.0`
         *
         * 资源路径。仅 resourceTiming 指标有效。
         */
        uri: string;
        /**
         * 需要基础库: `2.21.2`
         *
         * 渲染层代码注入完成时间。仅 firstRender 指标有效。
         */
        viewLayerReadyTime: number;
        /**
         * 需要基础库: `2.21.2`
         *
         * 渲染层执行渲染结束时间。仅 firstRender 指标有效。
         */
        viewLayerRenderEndTime: number;
        /**
         * 需要基础库: `2.21.2`
         *
         * 渲染层执行渲染开始时间。仅 firstRender 指标有效。
         */
        viewLayerRenderStartTime: number;
    }
 
    /**
     * 需要基础库: `2.11.0`
     *
     * PerformanceObserver 对象,用于监听性能相关事件
     */
    interface PerformanceObserver {
        /**
         * 获取当前支持的所有性能指标类型
         */
        supportedEntryTypes: any[];
    }
 
    interface Performance {
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:不支持
         *
         * 该方法返回当前缓冲区中的所有性能数据
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.getEntries.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.getEntries.html)
         */
        getEntries(): PerformanceEntry[];
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:不支持
         *
         * 获取当前缓冲区中所有名称为 [name] 且类型为 [entryType] 的性能数据
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.getEntriesByName.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.getEntriesByName.html)
         */
        getEntriesByName(name: string, entryType?: string): PerformanceEntry[];
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:不支持
         *
         * 获取当前缓冲区中所有类型为 [entryType] 的性能数据
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.getEntriesByType.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.getEntriesByType.html)
         */
        getEntriesByType(entryType: string): PerformanceEntry[];
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:不支持
         *
         * 设置缓冲区大小,默认缓冲 30 条性能数据
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.setBufferSize.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.setBufferSize.html)
         */
        setBufferSize(size: number): void;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:不支持
         *
         * 创建全局性能事件监听器
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.createObserver.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/Performance.createObserver.html)
         */
        createObserver(callback: (...args: any[]) => any): PerformanceObserver;
    }
 
    interface PreDownloadSubpackageOption {
        /**
         * 分包加载结束回调事件(加载成功、失败都会执行)
         */
        complete: (...args: any[]) => any;
        /**
         * 分包加载失败回调事件
         */
        fail: (...args: any[]) => any;
        /**
         * 分包的类型。目前仅支持填 "workers",表示 workers 分包。
         */
        packageType: string;
        /**
         * 分包加载成功回调事件
         */
        success: (...args: any[]) => any;
    }
 
    interface PreDownloadSubpackageTaskOnProgressUpdateListenerResult {
        /**
         * 分包下载进度百分比
         */
        progress: number;
        /**
         * 预期需要下载的数据总长度,单位 Bytes
         */
        totalBytesExpectedToWrite: number;
        /**
         * 已经下载的数据长度,单位 Bytes
         */
        totalBytesWritten: number;
    }
 
    /**
     * 分包加载进度变化事件的监听函数
     */
    type PreDownloadSubpackageTaskOnProgressUpdateCallback = (
                result: PreDownloadSubpackageTaskOnProgressUpdateListenerResult
            ) => void;
 
    interface PreDownloadSubpackageTask {
        /**
         *
         * 需要基础库: `2.27.3`
         *
         * 在插件中使用:不支持
         *
         * 监听分包加载进度变化事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/subpackage/PreDownloadSubpackageTask.onProgressUpdate.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/subpackage/PreDownloadSubpackageTask.onProgressUpdate.html)
         */
        onProgressUpdate(listener: PreDownloadSubpackageTaskOnProgressUpdateCallback): void;
    }
 
    interface CurrentState {
        /**
         * 当前缓存中的日志条数
         */
        logCount: number;
        /**
         * 当前缓存中最大可存日志条数
         */
        maxLogCount: number;
        /**
         * 当前缓存最大可用空间,以字节为单位
         */
        maxSize: number;
        /**
         * 当前缓存中已使用空间,以字节为单位
         */
        size: number;
    }
 
    interface RealtimeTagLogManager {
        /**
         *
         * 需要基础库: `2.16.0`
         *
         * 在插件中使用:需要基础库 `2.16.0`
         *
         * 添加过滤关键字
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.addFilterMsg.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.addFilterMsg.html)
         */
        addFilterMsg(msg: string): void;
        /**
         *
         * 需要基础库: `2.16.0`
         *
         * 在插件中使用:需要基础库 `2.16.0`
         *
         * 写 error 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.error.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.error.html)
         */
        error(key: string, value: any): void;
        /**
         *
         * 需要基础库: `2.16.0`
         *
         * 在插件中使用:需要基础库 `2.16.0`
         *
         * 写 info 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.info.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.info.html)
         */
        info(key: string, value: any): void;
        /**
         *
         * 需要基础库: `2.16.0`
         *
         * 在插件中使用:需要基础库 `2.16.0`
         *
         * 设置过滤关键字
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.setFilterMsg.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.setFilterMsg.html)
         */
        setFilterMsg(msg: string): void;
        /**
         *
         * 需要基础库: `2.16.0`
         *
         * 在插件中使用:需要基础库 `2.16.0`
         *
         * 写 warn 日志
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.warn.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeTagLogManager.warn.html)
         */
        warn(key: string, value: any): void;
    }
 
    interface RealtimeLogManager {
        /**
         *
         * 需要基础库: `2.19.4`
         *
         * 在插件中使用:不支持
         *
         * 实时日志会将一定时间间隔内缓存的日志聚合上报,如果该时间内缓存的内容超出限制,则会被丢弃。此方法可以获取当前缓存剩余空间。
         *
         * > 注意:基础库内部在对日志进行上报时会补充一些结构化数据,如果遇到上报溢出的情况也会补充警告日志,所以此方法获取到的当前占用信息会比预期的大一些。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.getCurrentState.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.getCurrentState.html)
         */
        getCurrentState(): CurrentState;
        /**
         *
         * 需要基础库: `2.8.1`
         *
         * 在插件中使用:不支持
         *
         * 添加过滤关键字,暂不支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.addFilterMsg.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.addFilterMsg.html)
         */
        addFilterMsg(msg: string): void;
        /**
         *
         * 需要基础库: `2.7.1`
         *
         * 在插件中使用:不支持
         *
         * 写 error 日志,暂不支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.error.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.error.html)
         */
        error(args: any[]): void;
        /**
         *
         * 需要基础库: `2.9.1`
         *
         * 在插件中使用:不支持
         *
         * 设置实时日志page参数所在的页面,暂不支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.in.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.in.html)
         */
        in(pageInstance: any): void;
        /**
         *
         * 需要基础库: `2.7.1`
         *
         * 在插件中使用:不支持
         *
         * 写 info 日志,暂不支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.info.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.info.html)
         */
        info(args: any[]): void;
        /**
         *
         * 需要基础库: `2.7.3`
         *
         * 在插件中使用:不支持
         *
         * 设置过滤关键字,暂不支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.setFilterMsg.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.setFilterMsg.html)
         */
        setFilterMsg(msg: string): void;
        /**
         *
         * 需要基础库: `2.7.1`
         *
         * 在插件中使用:不支持
         *
         * 写 warn 日志,暂不支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.warn.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.warn.html)
         */
        warn(args: any[]): void;
        /**
         *
         * 需要基础库: `2.16.0`
         *
         * 在插件中使用:需要基础库 `2.16.0`
         *
         * 获取给定标签的日志管理器实例,目前只支持在插件使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.tag.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/RealtimeLogManager.tag.html)
         */
        tag(tagName: string): RealtimeTagLogManager;
    }
 
    interface BindWifiOption {
        /**
         * 当前 wifi 网络的 BSSID ,可通过 wx.getConnectedWifi 获取
         */
        BSSID: string;
    }
 
    interface TCPSocketConnectOption {
        /**
         * 套接字要连接的地址
         */
        address: string;
        /**
         * 套接字要连接的端口
         */
        port: number;
        /**
         * 套接字要连接的超时时间,默认为 2s
         */
        timeout?: number;
    }
 
    /**
     * onBindWifi 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBindWifiCallback = (res: GeneralCallbackResult) => void;
    /**
     * onClose 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type UDPSocketOffCloseCallback = (res: GeneralCallbackResult) => void;
    /**
     * onConnect 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffConnectCallback = (res: GeneralCallbackResult) => void;
    /**
     * onError 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type UDPSocketOffErrorCallback = (result: GeneralCallbackResult) => void;
 
    interface LocalInfo {
        /**
         * 接收消息的 socket 的地址
         */
        address: string;
        /**
         * 使用的协议族,为 IPv4 或者 IPv6
         */
        family: string;
        /**
         * 端口号
         */
        port: number;
    }
 
    /**
     * 发送端地址信息
     */
    interface RemoteInfo {
        /**
         * 发送消息的 socket 的地址
         */
        address: string;
        /**
         * 使用的协议族,为 IPv4 或者 IPv6
         */
        family: string;
        /**
         * 端口号
         */
        port: number;
        /**
         * message 的大小,单位:字节
         */
        size: number;
    }
 
    interface TCPSocketOnMessageListenerResult {
        /**
         * 接收端地址信息
         */
        localInfo: LocalInfo;
        /**
         * 收到的消息
         */
        message: ArrayBuffer;
        /**
         * 发送端地址信息
         */
        remoteInfo: RemoteInfo;
    }
 
    /**
     * onMessage 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type TCPSocketOffMessageCallback = (
                result: TCPSocketOnMessageListenerResult
            ) => void;
    /**
     * 当一个 socket 绑定当前 wifi 网络成功时触发该事件的监听函数
     */
    type OnBindWifiCallback = (res: GeneralCallbackResult) => void;
    type UDPSocketOnCloseCallback = (res: GeneralCallbackResult) => void;
    /**
     * 当一个 socket 连接成功建立的时候触发该事件的监听函数
     */
    type OnConnectCallback = (res: GeneralCallbackResult) => void;
    type UDPSocketOnErrorCallback = (result: GeneralCallbackResult) => void;
    /**
     * 当接收到数据的时触发该事件的监听函数
     */
    type TCPSocketOnMessageCallback = (
                result: TCPSocketOnMessageListenerResult
            ) => void;
 
    interface TCPSocket {
        /**
         *
         * 需要基础库: `2.25.0`
         *
         * 在插件中使用:不支持
         *
         * 将 TCP Socket 绑定到当前 wifi 网络,成功后会触发 onBindWifi 事件(仅安卓支持)
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.bindWifi.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.bindWifi.html)
         */
        bindWifi(options: BindWifiOption): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 关闭连接
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.close.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.close.html)
         */
        close(): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 在给定的套接字上启动连接
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.connect.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.connect.html)
         */
        connect(options: TCPSocketConnectOption): void;
        /**
         *
         * 需要基础库: `2.25.0`
         *
         * 在插件中使用:不支持
         *
         * 移除当一个 socket 绑定当前 wifi 网络成功时触发该事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offBindWifi.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offBindWifi.html)
         */
        offBindWifi(listener?: OffBindWifiCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 移除一旦 socket 完全关闭就发出该事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offClose.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offClose.html)
         */
        offClose(listener?: UDPSocketOffCloseCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 移除当一个 socket 连接成功建立的时候触发该事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offConnect.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offConnect.html)
         */
        offConnect(listener?: OffConnectCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 移除当错误发生时触发的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offError.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offError.html)
         */
        offError(listener?: UDPSocketOffErrorCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 移除当接收到数据的时触发该事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.offMessage.html)
         */
        offMessage(listener?: TCPSocketOffMessageCallback): void;
        /**
         *
         * 需要基础库: `2.25.0`
         *
         * 在插件中使用:不支持
         *
         * 监听当一个 socket 绑定当前 wifi 网络成功时触发该事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onBindWifi.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onBindWifi.html)
         */
        onBindWifi(listener: OnBindWifiCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 监听一旦 socket 完全关闭就发出该事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onClose.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onClose.html)
         */
        onClose(listener: UDPSocketOnCloseCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 监听当一个 socket 连接成功建立的时候触发该事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onConnect.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onConnect.html)
         */
        onConnect(listener: OnConnectCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 监听当错误发生时触发
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onError.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onError.html)
         */
        onError(listener: UDPSocketOnErrorCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 监听当接收到数据的时触发该事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.onMessage.html)
         */
        onMessage(listener: TCPSocketOnMessageCallback): void;
        /**
         *
         * 在插件中使用:不支持
         *
         * 在 socket 上发送数据
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.write.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/TCPSocket.write.html)
         */
        write(data: string | ArrayBuffer): void;
    }
 
    interface UDPSocketConnectOption {
        /**
         * 要发消息的地址
         */
        address: string;
        /**
         * 要发送消息的端口号
         */
        port: number;
    }
 
    /**
     * onListening 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffListeningCallback = (res: GeneralCallbackResult) => void;
 
    interface UDPSocketOnMessageListenerResult {
        /**
         * 接收端地址信息,2.18.0 起支持
         */
        localInfo: LocalInfo;
        /**
         * 收到的消息。消息长度需要小于4096。
         */
        message: ArrayBuffer;
        /**
         * 发送端地址信息
         */
        remoteInfo: RemoteInfo;
    }
 
    /**
     * onMessage 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type UDPSocketOffMessageCallback = (
                result: UDPSocketOnMessageListenerResult
            ) => void;
    /**
     * 开始监听数据包消息的事件的监听函数
     */
    type OnListeningCallback = (res: GeneralCallbackResult) => void;
    /**
     * 收到消息的事件的监听函数
     */
    type UDPSocketOnMessageCallback = (
                result: UDPSocketOnMessageListenerResult
            ) => void;
 
    interface UDPSocketSendOption {
        /**
         * 要发消息的地址。在基础库 <= 2.9.3 版本必须是和本机同网段的 IP 地址,或安全域名列表内的域名地址;之后版本可以是任意 IP 和域名
         */
        address: string;
        /**
         * 要发送的数据
         */
        message: string | ArrayBuffer;
        /**
         * 要发送消息的端口号
         */
        port: number;
        /**
         * 发送数据的长度,仅当 message 为 ArrayBuffer 类型时有效
         */
        length?: number;
        /**
         * 发送数据的偏移量,仅当 message 为 ArrayBuffer 类型时有效
         */
        offset?: number;
        /**
         * 向指定地址发消息时,是否要开启广播,基础库 2.24.0 开始支持
         */
        setBroadcast?: boolean;
    }
 
    interface UDPSocket {
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 关闭 UDP Socket 实例,相当于销毁。 在关闭之后,UDP Socket 实例不能再发送消息,每次调用 `UDPSocket.send` 将会触发错误事件,并且 message 事件回调函数也不会再也执行。在 `UDPSocket` 实例被创建后将被 Native 强引用,保证其不被 GC。在 `UDPSocket.close` 后将解除对其的强引用,让 UDPSocket 实例遵从 GC。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.close.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.close.html)
         */
        close(): void;
        /**
         *
         * 需要基础库: `2.15.0`
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 预先连接到指定的 IP 和 port,需要配合 write 方法一起使用
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.connect.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.connect.html)
         */
        connect(option: UDPSocketConnectOption): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 移除关闭事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offClose.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offClose.html)
         */
        offClose(listener?: UDPSocketOffCloseCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 移除错误事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offError.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offError.html)
         */
        offError(listener?: UDPSocketOffErrorCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 移除开始监听数据包消息的事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offListening.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offListening.html)
         */
        offListening(listener?: OffListeningCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 移除收到消息的事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.offMessage.html)
         */
        offMessage(listener?: UDPSocketOffMessageCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 监听关闭事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onClose.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onClose.html)
         */
        onClose(listener: UDPSocketOnCloseCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 监听错误事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onError.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onError.html)
         */
        onError(listener: UDPSocketOnErrorCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 监听开始监听数据包消息的事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onListening.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onListening.html)
         */
        onListening(listener: OnListeningCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 监听收到消息的事件
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.onMessage.html)
         */
        onMessage(listener: UDPSocketOnMessageCallback): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 向指定的 IP 和 port 发送消息。基础库 2.9.0 起支持广播 (指定地址为 255.255.255.255)。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.send.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.send.html)
         */
        send(option: UDPSocketSendOption): void;
        /**
         *
         * 需要基础库: `2.18.0`
         *
         * 在插件中使用:支持
         *
         * 设置 IP_TTL 套接字选项,用于设置一个 IP 数据包传输时允许的最大跳步数
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.setTTL.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.setTTL.html)
         */
        setTTL(ttl: number): void;
        /**
         *
         * 需要基础库: `2.15.0`
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 用法与 send 方法相同,如果没有预先调用 connect 则与 send 无差异(注意即使调用了 connect 也需要在本接口填入地址和端口参数)
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.write.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.write.html)
         */
        write(): void;
        /**
         *
         * 在插件中使用:需要基础库 `2.11.1`
         *
         * 绑定一个系统随机分配的可用端口,或绑定一个指定的端口号
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.bind.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/UDPSocket.bind.html)
         */
        bind(port?: number): number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetLatestUserKeyCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetLatestUserKeyFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetLatestUserKeySuccessCallbackResult {
        /**
         * 用户加密密钥
         */
        encryptKey: string;
        /**
         * 密钥过期时间
         */
        expireTime: number;
        /**
         * 密钥初始向量
         */
        iv: string;
        /**
         * 密钥版本
         */
        version: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetLatestUserKeySuccessCallback = (
                result: GetLatestUserKeySuccessCallbackResult
            ) => void;
 
    interface GetLatestUserKeyOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetLatestUserKeyCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetLatestUserKeyFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetLatestUserKeySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetRandomValuesCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetRandomValuesFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetRandomValuesSuccessCallbackResult {
        /**
         * 随机数内容,长度为传入的字节数
         */
        randomValues: ArrayBuffer;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetRandomValuesSuccessCallback = (
                result: GetRandomValuesSuccessCallbackResult
            ) => void;
 
    interface GetRandomValuesOption {
        /**
         * 整数,生成随机数的字节数,最大 1048576
         */
        length: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetRandomValuesCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetRandomValuesFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetRandomValuesSuccessCallback;
    }
 
    interface UserCryptoManager {
        /**
         *
         * 需要基础库: `2.17.3`
         *
         * 在插件中使用:不支持
         *
         * 获取最新的用户加密密钥
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/crypto/UserCryptoManager.getLatestUserKey.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/crypto/UserCryptoManager.getLatestUserKey.html)
         */
        getLatestUserKey(option?: GetLatestUserKeyOption): void;
        /**
         *
         * 需要基础库: `2.17.3`
         *
         * 在插件中使用:不支持
         *
         * 获取密码学安全随机数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/crypto/UserCryptoManager.getRandomValues.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/crypto/UserCryptoManager.getRandomValues.html)
         */
        getRandomValues(option: GetRandomValuesOption): void;
    }
 
    /**
     * 平面跟踪配置
     */
    interface PlaneTrack {
        /**
         * 平面跟踪配置模式
         *
         * 可选值:
         * - 1: 检测横向平面;
         * - 2: 检测纵向平面,只有 v2 版本支持;
         * - 3: 检测横向和纵向平面,只有 v2 版本支持;
         */
        mode: 1 | 2 | 3;
    }
 
    /**
     * 需要基础库: `2.27.0`
     *
     * OCR检测配置。用法详情[指南文档](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/visionkit/ocr.html)。
     */
    interface OCRTrack {
        /**
         * 需要基础库: `2.27.0`
         *
         * OCR检测模式
         *
         * 可选值:
         * - 1: 通过摄像头实时检测;
         * - 2: 静态图片检测;
         */
        mode: 1 | 2;
    }
 
    /**
     * 需要基础库: `2.25.0`
     *
     * 人脸检测配置。用法详情[指南文档](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/visionkit/face.html)。安卓微信8.0.25开始支持,iOS微信8.0.24开始支持。
     */
    interface FaceTrack {
        /**
         * 需要基础库: `2.25.0`
         *
         * 人脸检测模式
         *
         * 可选值:
         * - 1: 通过摄像头实时检测;
         * - 2: 静态图片检测;
         */
        mode: 1 | 2;
    }
 
    /**
     * 跟踪能力配置,目前不同的跟踪能力之间是互斥的,默认使用平面跟踪能力。需要注意目前 track 中不同的跟踪配置存在互斥关系(比如 marker 跟踪配置和 OSD 跟踪配置不能同时存在),请按需配置。
     */
    interface Track {
        /**
         * 平面跟踪配置
         */
        plane: PlaneTrack;
        /**
         * 需要基础库: `2.27.0`
         *
         * OCR检测配置。用法详情[指南文档](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/visionkit/ocr.html)。
         */
        OCR?: OCRTrack;
        /**
         * 需要基础库: `2.24.5`
         *
         * OSD 跟踪配置
         */
        OSD?: boolean;
        /**
         * 需要基础库: `2.25.0`
         *
         * 人脸检测配置。用法详情[指南文档](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/visionkit/face.html)。安卓微信8.0.25开始支持,iOS微信8.0.24开始支持。
         */
        face?: FaceTrack;
        /**
         * 需要基础库: `2.24.5`
         *
         * marker 跟踪配置
         */
        marker?: boolean;
    }
 
    interface VKConfig {
        /**
         * 跟踪能力配置,目前不同的跟踪能力之间是互斥的,默认使用平面跟踪能力。需要注意目前 track 中不同的跟踪配置存在互斥关系(比如 marker 跟踪配置和 OSD 跟踪配置不能同时存在),请按需配置。
         */
        track: Track;
        /**
         * 需要基础库: `2.23.0`
         *
         * 绑定的 WebGLRenderingContext 对象
         */
        gl?: any;
        /**
         * 需要基础库: `2.22.0`
         *
         * vision kit 版本。
         *
         * 可选值:
         * - 'v1': v1适用于用户在平面场景下,例如桌面,地面,泛平面场景,放置虚拟物体,不提供真实世界距离。用户放置物体时,手机相机倾斜向下对着目标平面点击即可,具有广泛的机型支持;
         * - 'v2': v2提供真实物理距离的 ar 定位功能,提供平面识别功能,用户在平面范围点击放置虚拟物体的功能,具有[有限的机型支持](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/visionkit/plane.html#%E9%99%84%E5%BD%95)。iOS 设备在基础库 2.22.0 开始支持v2。安卓设备在基础库 2.25.1 开始支持v2,另外,安卓v2不支持竖直平面。;
         */
        version?: "v1" | "v2";
    }
 
    interface VKSize {
        /**
         * 高度
         */
        height: number;
        /**
         * 宽度
         */
        width: number;
    }
 
    /**
     * 需要基础库: `2.20.0`
     *
     * vision kit 会话对象。
     */
    interface VKSession {
        /**
         * 相机尺寸
         */
        cameraSize: VKSize;
        /**
         * 会话配置
         */
        config: VKConfig;
        /**
         * 会话状态
         *
         * 可选值:
         * - 0: 不可用;
         * - 1: 运行中;
         * - 2: 暂停中;
         */
        state: 0 | 1 | 2;
    }
 
    /**
     * 视频帧数据,若取不到则返回 null。当缓冲区为空的时候可能暂停取不到数据。
     */
    interface FrameDataOptions {
        /**
         * 帧数据
         */
        data: ArrayBuffer;
        /**
         * 帧数据高度
         */
        height: number;
        /**
         * 帧原始 dts
         */
        pkDts: number;
        /**
         * 帧原始 pts
         */
        pkPts: number;
        /**
         * 帧数据宽度
         */
        width: number;
    }
 
    interface VideoDecoderStartOption {
        /**
         * 需要解码的视频源文件。基础库 2.13.0 以下的版本只支持本地路径。 2.13.0 开始支持 http:// 和 https:// 协议的远程路径。
         */
        source: string;
        /**
         * 需要基础库: `2.15.0`
         *
         * 是否不需要音频轨道
         */
        abortAudio?: boolean;
        /**
         * 需要基础库: `2.15.0`
         *
         * 是否不需要视频轨道
         */
        abortVideo?: boolean;
        /**
         * 解码模式。0:按 pts 解码;1:以最快速度解码
         */
        mode?: number;
    }
 
    interface VideoDecoder {
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 获取下一帧的解码数据
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.getFrameData.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.getFrameData.html)
         */
        getFrameData(): FrameDataOptions;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 移除解码器
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.remove.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.remove.html)
         */
        remove(): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 跳到某个时间点解码
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.seek.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.seek.html)
         */
        seek(position: number): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 开始解码
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.start.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.start.html)
         */
        start(option: VideoDecoderStartOption): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 停止解码
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.stop.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.stop.html)
         */
        stop(): Promise<any>;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 取消监听录制事件。当对应事件触发时,该回调函数不再执行
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.off.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.off.html)
         */
        off(eventName: string, callback: (...args: any[]) => any): void;
        /**
         *
         * 需要基础库: `2.11.0`
         *
         * 在插件中使用:支持
         *
         * 注册监听录制事件的回调函数。当对应事件触发时,回调函数会被执行
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.on.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.on.html)
         */
        on(eventName: "start" | "stop" | "seek" | "bufferchange" | "ended", callback: (...args: any[]) => any): void;
    }
 
    /**
     * 需要基础库: `2.19.0`
     *
     * 一类音频处理模块,不同的Node具备不同的功能,如GainNode(音量调整)等。一个WebAudioContextNode可以通过上下文来创建。
     * 目前已经支持以下Node:
     * IIRFilterNode
     * WaveShaperNode
     * ConstantSourceNode
     * ChannelMergerNode
     * OscillatorNode
     * GainNode
     * BiquadFilterNode
     * PeriodicWaveNode
     * BufferSourceNode
     * ChannelSplitterNode
     * ChannelMergerNode
     * DelayNode
     * DynamicsCompressorNode
     * ScriptProcessorNode
     * PannerNode
     * AnalyserNode
     */
    interface WebAudioContextNode {
        /**
         * 表示监听器的前向系统在同一笛卡尔坐标系中的水平位置,作为位置(位置x,位置和位置和位置)值。
         */
        forwardX: number;
        /**
         * 表示听众的前向方向在同一笛卡尔坐标系中作为位置(位置x,位置和位置和位置)值的垂直位置。
         */
        forwardY: number;
        /**
         * 表示与position (positionX、positionY和positionZ)值在同一笛卡尔坐标系下的听者前进方向的纵向(前后)位置。
         */
        forwardZ: number;
        /**
         * 右手笛卡尔坐标系中X轴的位置。
         */
        positionX: number;
        /**
         * 右手笛卡尔坐标系中Y轴的位置。
         */
        positionY: number;
        /**
         * 右手笛卡尔坐标系中Z轴的位置。
         */
        positionZ: number;
        /**
         * 设置监听器的方向
         */
        setOrientation: (...args: any[]) => any;
        /**
         * 设置监听器的位置
         *
         * /**
         */
        setPosition: (...args: any[]) => any;
        /**
         * 表示在与position (positionX、positionY和positionZ)值相同的笛卡尔坐标系中侦听器向前方向的水平位置。
         */
        upX: number;
        /**
         * 表示在与position (positionX、positionY和positionZ)值相同的笛卡尔坐标系中侦听器向上方向的水平位置。
         */
        upY: number;
        /**
         * 表示在与position (positionX、positionY和positionZ)值相同的笛卡尔坐标系中侦听器向后方向的水平位置。
         */
        upZ: number;
    }
 
    /**
     * 需要基础库: `2.19.0`
     *
     * WebAudioContext 实例,通过[uni.createWebAudioContext](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createWebAudioContext.html) 接口获取该实例。
     *
     */
    interface WebAudioContext {
        /**
         * 获取当前上下文的时间戳。
         */
        currentTime: number;
        /**
         *
         * 当前上下文的最终目标节点,一般是音频渲染设备。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/WebAudioContextNode.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/WebAudioContextNode.html)
         */
        destination: WebAudioContextNode;
        /**
         * 空间音频监听器。
         */
        listener: any;
        /**
         * 可写属性,开发者可以对该属性设置一个监听函数,当WebAudio状态改变的时候,会触发开发者设置的监听函数。
         */
        onstatechange: (...args: any[]) => any;
        /**
         * 采样率,通常在8000-96000之间,通常44100hz的采样率最为常见。
         */
        sampleRate: number;
        /**
         * 当前WebAudio上下文的状态。可能的值如下:suspended(暂停)、running(正在运行)、closed(已关闭)。需要注意的是,不要在 audioContext close后再访问state属性
         */
        state: string;
    }
 
    /**
     * 可选参数
     */
    interface CreateWorkerOption {
        /**
         * 需要基础库: `2.13.0`
         *
         * 是否使用实验worker。在iOS下,实验worker的JS运行效率比非实验worker提升数倍,如需在worker内进行重度计算的建议开启此选项。同时,实验worker存在极小概率会在系统资源紧张时被系统回收,因此建议配合 worker.onProcessKilled 事件使用,在worker被回收后可重新创建一个。
         */
        useExperimentalWorker?: boolean;
    }
 
    /**
     * 需要添加的卡券列表
     */
    interface AddCardRequestInfo {
        /**
         * 卡券的扩展参数。需将 CardExt 对象 JSON 序列化为**字符串**传入
         */
        cardExt: string;
        /**
         * 卡券 ID
         */
        cardId: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AddCardCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AddCardFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 卡券添加结果列表
     */
    interface AddCardResponseInfo {
        /**
         * 卡券的扩展参数,结构请参考下文
         */
        cardExt: string;
        /**
         * 用户领取到卡券的 ID
         */
        cardId: string;
        /**
         * 加密 code,为用户领取到卡券的code加密后的字符串,解密请参照:[code 解码接口](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1499332673_Unm7V)
         */
        code: string;
        /**
         * 是否成功
         */
        isSuccess: boolean;
    }
 
    interface AddCardSuccessCallbackResult {
        /**
         * 卡券添加结果列表
         */
        cardList: AddCardResponseInfo[];
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type AddCardSuccessCallback = (result: AddCardSuccessCallbackResult) => void;
 
    interface AddCardOption {
        /**
         * 需要添加的卡券列表
         */
        cardList: AddCardRequestInfo[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AddCardCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AddCardFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AddCardSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AddFileToFavoritesCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AddFileToFavoritesFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AddFileToFavoritesSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface AddFileToFavoritesOption {
        /**
         * 要收藏的文件地址,必须为本地路径或临时路径
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AddFileToFavoritesCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AddFileToFavoritesFailCallback;
        /**
         * 自定义文件名,若留空则使用filePath中的文件名
         */
        fileName?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: AddFileToFavoritesSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AddPhoneCalendarCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AddPhoneCalendarFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AddPhoneCalendarSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface AddPhoneCalendarOption {
        /**
         * 开始时间的 unix 时间戳
         */
        startTime: number;
        /**
         * 日历事件标题
         */
        title: string;
        /**
         * 是否提醒,默认 true
         */
        alarm?: boolean;
        /**
         * 提醒提前量,单位秒,默认 0 表示开始时提醒
         */
        alarmOffset?: number;
        /**
         * 是否全天事件,默认 false
         */
        allDay?: boolean;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AddPhoneCalendarCompleteCallback;
        /**
         * 事件说明
         */
        description?: string;
        /**
         * 结束时间的 unix 时间戳,默认与开始时间相同
         */
        endTime?: string;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AddPhoneCalendarFailCallback;
        /**
         * 事件位置
         */
        location?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: AddPhoneCalendarSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AddPhoneRepeatCalendarCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AddPhoneRepeatCalendarFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AddPhoneRepeatCalendarSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface AddPhoneRepeatCalendarOption {
        /**
         * 开始时间的 unix 时间戳 (1970年1月1日开始所经过的秒数)
         */
        startTime: number;
        /**
         * 日历事件标题
         */
        title: string;
        /**
         * 是否提醒,默认 true
         */
        alarm?: boolean;
        /**
         * 提醒提前量,单位秒,默认 0 表示开始时提醒
         */
        alarmOffset?: number;
        /**
         * 是否全天事件,默认 false
         */
        allDay?: boolean;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AddPhoneRepeatCalendarCompleteCallback;
        /**
         * 事件说明
         */
        description?: string;
        /**
         * 结束时间的 unix 时间戳,默认与开始时间相同
         */
        endTime?: string;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AddPhoneRepeatCalendarFailCallback;
        /**
         * 事件位置
         */
        location?: string;
        /**
         * 重复周期结束时间的 unix 时间戳,不填表示一直重复
         */
        repeatEndTime?: number;
        /**
         * 重复周期,默认 month 每月重复
         *
         * 可选值:
         * - 'day': 每天重复;
         * - 'week': 每周重复;
         * - 'month': 每月重复。该模式日期不能大于 28 日;
         * - 'year': 每年重复;
         */
        repeatInterval?: "day" | "week" | "month" | "year";
        /**
         * 接口调用成功的回调函数
         */
        success?: AddPhoneRepeatCalendarSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AddVideoToFavoritesCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AddVideoToFavoritesFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AddVideoToFavoritesSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface AddVideoToFavoritesOption {
        /**
         * 要收藏的视频地址,必须为本地路径或临时路径
         */
        videoPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AddVideoToFavoritesCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AddVideoToFavoritesFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AddVideoToFavoritesSuccessCallback;
        /**
         * 缩略图路径,若留空则使用视频首帧
         */
        thumbPath?: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AuthPrivateMessageCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AuthPrivateMessageFailCallback = (res: GeneralCallbackResult) => void;
 
    interface AuthPrivateMessageSuccessCallbackResult {
        /**
         * 经过加密的activityId,解密后可得到原始的activityId。若解密后得到的activityId可以与开发者后台的活动id对应上则验证通过,否则表明valid字段不可靠(被篡改) 详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
         */
        encryptedData: string;
        /**
         * 错误信息
         */
        errMsg: string;
        /**
         * 加密算法的初始向量,详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
         */
        iv: string;
        /**
         * 验证是否通过
         */
        valid: boolean;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type AuthPrivateMessageSuccessCallback = (
                result: AuthPrivateMessageSuccessCallbackResult
            ) => void;
 
    interface AuthPrivateMessageOption {
        /**
         * shareTicket。可以从 wx.onShow 中获取。详情 [shareTicket](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html)
         */
        shareTicket: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AuthPrivateMessageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AuthPrivateMessageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AuthPrivateMessageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AuthorizeForMiniProgramCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AuthorizeForMiniProgramFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AuthorizeForMiniProgramSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface AuthorizeForMiniProgramOption {
        /**
         * 需要获取权限的 scope,详见 [scope 列表](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/authorize.html#scope-列表)
         *
         * 可选值:
         * - 'scope.record': ;
         * - 'scope.writePhotosAlbum': ;
         * - 'scope.camera': ;
         */
        scope: "scope.record" | "scope.writePhotosAlbum" | "scope.camera";
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AuthorizeForMiniProgramCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AuthorizeForMiniProgramFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AuthorizeForMiniProgramSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type BatchGetStorageCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type BatchGetStorageFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type BatchGetStorageSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface BatchGetStorageOption {
        /**
         * 本地缓存中指定的 keyList
         */
        keyList: string[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: BatchGetStorageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: BatchGetStorageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: BatchGetStorageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type BatchSetStorageCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type BatchSetStorageFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type BatchSetStorageSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface BatchSetStorageOption {
        /**
         * [{ key, value }]
         */
        kvList: any[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: BatchSetStorageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: BatchSetStorageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: BatchSetStorageSuccessCallback;
    }
 
    interface KvList {
        /**
         * key 本地缓存中指定的 key
         */
        key: string;
        /**
         * data 需要存储的内容。只支持原生类型、Date、及能够通过`JSON.stringify`序列化的对象。
         */
        value: any;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type CheckIsOpenAccessibilityCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type CheckIsOpenAccessibilityFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface CheckIsOpenAccessibilitySuccessCallbackOption {
        /**
         * iOS 上开启辅助功能旁白,安卓开启 talkback 时返回 true
         */
        open: boolean;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type CheckIsOpenAccessibilitySuccessCallback = (
                option: CheckIsOpenAccessibilitySuccessCallbackOption
            ) => void;
 
    interface CheckIsOpenAccessibilityOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: CheckIsOpenAccessibilityCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: CheckIsOpenAccessibilityFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: CheckIsOpenAccessibilitySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ChooseContactCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ChooseContactFailCallback = (res: GeneralCallbackResult) => void;
 
    interface ChooseContactSuccessCallbackOption {
        /**
         * 联系人姓名
         */
        displayName: string;
        /**
         * 手机号
         */
        phoneNumber: string;
        /**
         * 选定联系人的所有手机号(部分 Android 系统只能选联系人而不能选特定手机号)
         */
        phoneNumberList: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ChooseContactSuccessCallback = (
                option: ChooseContactSuccessCallbackOption
            ) => void;
 
    interface ChooseContactOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ChooseContactCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ChooseContactFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ChooseContactSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ChooseInvoiceCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ChooseInvoiceFailCallback = (res: GeneralCallbackResult) => void;
 
    interface ChooseInvoiceSuccessCallbackResult {
        /**
         * 用户选中的发票信息,格式为一个 JSON 字符串,包含三个字段: card_id:所选发票卡券的 cardId,encrypt_code:所选发票卡券的加密 code,报销方可以通过 cardId 和 encryptCode 获得报销发票的信息,app_id: 发票方的 appId。
         */
        invoiceInfo: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ChooseInvoiceSuccessCallback = (
                result: ChooseInvoiceSuccessCallbackResult
            ) => void;
 
    interface ChooseInvoiceOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ChooseInvoiceCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ChooseInvoiceFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ChooseInvoiceSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ChooseLicensePlateCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ChooseLicensePlateFailCallback = (res: GeneralCallbackResult) => void;
 
    interface ChooseLicensePlateSuccessCallbackResult {
        /**
         * 用户选择的车牌号
         */
        plateNumber: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ChooseLicensePlateSuccessCallback = (
                result: ChooseLicensePlateSuccessCallbackResult
            ) => void;
 
    interface ChooseLicensePlateOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ChooseLicensePlateCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ChooseLicensePlateFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ChooseLicensePlateSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ChooseMediaCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ChooseMediaFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 本地临时文件列表
     */
    interface MediaFile {
        /**
         * 视频的时间长度
         */
        duration: number;
        /**
         * 文件类型
         *
         * 可选值:
         * - 'image': 图片;
         * - 'video': 视频;
         */
        fileType: "video" | "image";
        /**
         * 视频的高度
         */
        height: number;
        /**
         * 本地临时文件大小,单位 B
         */
        size: number;
        /**
         * 本地临时文件路径 (本地路径)
         */
        tempFilePath: string;
        /**
         * 视频缩略图临时文件路径
         */
        thumbTempFilePath: string;
        /**
         * 视频的宽度
         */
        width: number;
    }
 
    interface ChooseMediaSuccessCallbackResult {
        /**
         * 本地临时文件列表
         */
        tempFiles: MediaFile[];
        /**
         * 文件类型,有效值有 image 、video、mix
         */
        type: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ChooseMediaSuccessCallback = (
                result: ChooseMediaSuccessCallbackResult
            ) => void;
 
    interface ChooseMediaOption {
        /**
         * 仅在 sourceType 为 camera 时生效,使用前置或后置摄像头
         *
         * 可选值:
         * - 'back': 使用后置摄像头;
         * - 'front': 使用前置摄像头;
         */
        camera?: "back" | "front";
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ChooseMediaCompleteCallback;
        /**
         * 最多可以选择的文件个数,基础库2.25.0前,最多可支持9个文件,2.25.0及以后最多可支持20个文件
         */
        count?: number;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ChooseMediaFailCallback;
        /**
         * 拍摄视频最长拍摄时间,单位秒。时间范围为 3s 至 60s 之间。不限制相册。
         */
        maxDuration?: number;
        /**
         * 文件类型
         *
         * 可选值:
         * - 'image': 只能拍摄图片或从相册选择图片;
         * - 'video': 只能拍摄视频或从相册选择视频;
         * - 'mix': 可同时选择图片和视频;
         */
        mediaType?: ("video" | "image" | "mix")[];
        /**
         * 是否压缩所选文件,基础库2.25.0前仅对 mediaType 为 image 时有效,2.25.0及以后对全量 mediaType 有效
         */
        sizeType?: string[];
        /**
         * 图片和视频选择的来源
         *
         * 可选值:
         * - 'album': 从相册选择;
         * - 'camera': 使用相机拍摄;
         */
        sourceType?: ("album" | "camera")[];
        /**
         * 接口调用成功的回调函数
         */
        success?: ChooseMediaSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ChooseMessageFileCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ChooseMessageFileFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 返回选择的文件的本地临时文件对象数组
     */
    interface ChooseFile {
        /**
         * 选择的文件名称
         */
        name: string;
        /**
         * 本地临时文件路径 (本地路径)
         */
        path: string;
        /**
         * 本地临时文件大小,单位 B
         */
        size: number;
        /**
         * 选择的文件的会话发送时间,Unix时间戳,工具暂不支持此属性
         */
        time: number;
        /**
         * 选择的文件类型
         *
         * 可选值:
         * - 'video': 选择了视频文件;
         * - 'image': 选择了图片文件;
         * - 'file': 选择了除图片和视频的文件;
         */
        type: "video" | "image" | "file";
    }
 
    interface ChooseMessageFileSuccessCallbackResult {
        /**
         * 返回选择的文件的本地临时文件对象数组
         */
        tempFiles: ChooseFile[];
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ChooseMessageFileSuccessCallback = (
                result: ChooseMessageFileSuccessCallbackResult
            ) => void;
 
    interface ChooseMessageFileOption {
        /**
         * 最多可以选择的文件个数,可以 0~100
         */
        count: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ChooseMessageFileCompleteCallback;
        /**
         * 需要基础库: `2.6.0`
         *
         * 根据文件拓展名过滤,仅 type==file 时有效。每一项都不能是空字符串。默认不过滤。
         */
        extension?: string[];
        /**
         * 接口调用失败的回调函数
         */
        fail?: ChooseMessageFileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ChooseMessageFileSuccessCallback;
        /**
         * 所选的文件的类型
         *
         * 可选值:
         * - 'all': 从所有文件选择;
         * - 'video': 只能选择视频文件;
         * - 'image': 只能选择图片文件;
         * - 'file': 可以选择除了图片和视频之外的其它的文件;
         */
        type?: "all" | "video" | "image" | "file";
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ChoosePoiCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ChoosePoiFailCallback = (res: GeneralCallbackResult) => void;
 
    interface ChoosePoiSuccessCallbackResult {
        /**
         * 详细地址
         */
        address: string;
        /**
         * 城市名称
         */
        city: number;
        /**
         * 纬度,浮点数,范围为-90~90,负数表示南纬。使用 gcj02 国测局坐标系(即将废弃)
         */
        latitude: number;
        /**
         * 经度,浮点数,范围为-180~180,负数表示西经。使用 gcj02 国测局坐标系(即将废弃)
         */
        longitude: number;
        /**
         * 位置名称
         */
        name: string;
        /**
         * 选择城市时,值为 1,选择精确位置时,值为 2
         */
        type: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type ChoosePoiSuccessCallback = (
                result: ChoosePoiSuccessCallbackResult
            ) => void;
 
    interface ChoosePoiOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ChoosePoiCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ChoosePoiFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ChoosePoiSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type CreateBLEPeripheralServerCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type CreateBLEPeripheralServerFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    /**
     * 描述符的权限
     */
    interface DescriptorPermission {
        /**
         * 读
         */
        read?: boolean;
        /**
         * 写
         */
        write?: boolean;
    }
 
    /**
     * 描述符数据
     */
    interface CharacteristicDescriptor {
        /**
         * Descriptor 的 UUID
         */
        uuid: string;
        /**
         * 描述符的权限
         */
        permission?: DescriptorPermission;
        /**
         * 描述符数据
         */
        value?: ArrayBuffer;
    }
 
    /**
     * 特征权限
     */
    interface CharacteristicPermission {
        /**
         * 加密读请求
         */
        readEncryptionRequired?: boolean;
        /**
         * 可读
         */
        readable?: boolean;
        /**
         * 加密写请求
         */
        writeEncryptionRequired?: boolean;
        /**
         * 可写
         */
        writeable?: boolean;
    }
 
    /**
     * 特征支持的操作
     */
    interface CharacteristicProperties {
        /**
         * 回包
         */
        indicate?: boolean;
        /**
         * 订阅
         */
        notify?: boolean;
        /**
         * 读
         */
        read?: boolean;
        /**
         * 写
         */
        write?: boolean;
        /**
         * 无回复写
         */
        writeNoResponse?: boolean;
    }
 
    /**
     * characteristics列表
     */
    interface Characteristic {
        /**
         * characteristic 的 UUID
         */
        uuid: string;
        /**
         * 描述符数据
         */
        descriptors?: CharacteristicDescriptor[];
        /**
         * 特征权限
         */
        permission?: CharacteristicPermission;
        /**
         * 特征支持的操作
         */
        properties?: CharacteristicProperties;
        /**
         * 特征对应的二进制值
         */
        value?: ArrayBuffer;
    }
 
    /**
     * 描述service的Object
     */
    interface BLEPeripheralService {
        /**
         * characteristics列表
         */
        characteristics: Characteristic[];
        /**
         * 蓝牙服务的 UUID
         */
        uuid: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type AddServiceCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type AddServiceFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type AddServiceSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface AddServiceOption {
        /**
         * 描述service的Object
         */
        service: BLEPeripheralService;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: AddServiceCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: AddServiceFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: AddServiceSuccessCallback;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type SocketTaskCloseFailCallback = (res: GeneralCallbackResult) => void;
 
    interface BLEPeripheralServerCloseOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: FileSystemManagerCloseCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SocketTaskCloseFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: FileSystemManagerCloseSuccessCallback;
    }
 
    interface OnCharacteristicReadRequestListenerResult {
        /**
         * 唯一标识码,调用 [writeCharacteristicValue](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.writeCharacteristicValue.html) 时使用
         */
        callbackId: number;
        /**
         * 蓝牙特征的 UUID
         */
        characteristicId: string;
        /**
         * 蓝牙特征对应服务的 UUID
         */
        serviceId: string;
    }
 
    /**
     * onCharacteristicReadRequest 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffCharacteristicReadRequestCallback = (
                result: OnCharacteristicReadRequestListenerResult
            ) => void;
 
    interface OnCharacteristicSubscribedListenerResult {
        /**
         * 蓝牙特征的 UUID
         */
        characteristicId: string;
        /**
         * 蓝牙特征对应服务的 UUID
         */
        serviceId: string;
    }
 
    /**
     * onCharacteristicSubscribed 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffCharacteristicSubscribedCallback = (
                result: OnCharacteristicSubscribedListenerResult
            ) => void;
    /**
     * onCharacteristicUnsubscribed 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffCharacteristicUnsubscribedCallback = (
                result: OnCharacteristicSubscribedListenerResult
            ) => void;
 
    interface OnCharacteristicWriteRequestListenerResult {
        /**
         * 唯一标识码,调用 [writeCharacteristicValue](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.writeCharacteristicValue.html) 时使用
         */
        callbackId: number;
        /**
         * 蓝牙特征的 UUID
         */
        characteristicId: string;
        /**
         * 蓝牙特征对应服务的 UUID
         */
        serviceId: string;
        /**
         * 请求写入特征的二进制数据值
         */
        value: ArrayBuffer;
    }
 
    /**
     * onCharacteristicWriteRequest 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffCharacteristicWriteRequestCallback = (
                result: OnCharacteristicWriteRequestListenerResult
            ) => void;
    /**
     * 已连接的设备请求读当前外围设备的特征值事件的监听函数
     */
    type OnCharacteristicReadRequestCallback = (
                result: OnCharacteristicReadRequestListenerResult
            ) => void;
    /**
     * 特征订阅事件的监听函数
     */
    type OnCharacteristicSubscribedCallback = (
                result: OnCharacteristicSubscribedListenerResult
            ) => void;
    /**
     * 取消特征订阅事件的监听函数
     */
    type OnCharacteristicUnsubscribedCallback = (
                result: OnCharacteristicSubscribedListenerResult
            ) => void;
    /**
     * 已连接的设备请求写当前外围设备的特征值事件的监听函数
     */
    type OnCharacteristicWriteRequestCallback = (
                result: OnCharacteristicWriteRequestListenerResult
            ) => void;
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RemoveServiceCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type RemoveServiceFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RemoveServiceSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface RemoveServiceOption {
        /**
         * service 的 UUID
         */
        serviceId: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RemoveServiceCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RemoveServiceFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RemoveServiceSuccessCallback;
    }
 
    /**
     * 需要基础库: `2.20.1`
     *
     * 以 beacon 设备形式广播的参数。
     */
    interface BeaconInfoObj {
        /**
         * Beacon 设备的主 ID
         */
        major: number;
        /**
         * Beacon 设备的次 ID
         */
        minor: number;
        /**
         * Beacon 设备广播的 UUID
         */
        uuid: string;
        /**
         * 用于判断距离设备 1 米时 RSSI 大小的参考值
         */
        measuredPower?: number;
    }
 
    /**
     * 广播的制造商信息。仅安卓支持,iOS 因系统限制无法定制。
     */
    interface ManufacturerData {
        /**
         * 制造商ID,0x 开头的十六进制
         */
        manufacturerId: string;
        /**
         * 制造商信息
         */
        manufacturerSpecificData?: ArrayBuffer;
    }
 
    /**
     * 广播自定义参数
     */
    interface AdvertiseReqObj {
        /**
         * 需要基础库: `2.20.1`
         *
         * 以 beacon 设备形式广播的参数。
         */
        beacon?: BeaconInfoObj;
        /**
         * 当前设备是否可连接
         */
        connectable?: boolean;
        /**
         * 广播中 deviceName 字段,默认为空
         */
        deviceName?: string;
        /**
         * 广播的制造商信息。仅安卓支持,iOS 因系统限制无法定制。
         */
        manufacturerData?: ManufacturerData[];
        /**
         * 要广播的服务 UUID 列表。使用 16/32 位 UUID 时请参考注意事项。
         */
        serviceUuids?: string[];
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StartAdvertisingCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StartAdvertisingFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StartAdvertisingSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface StartAdvertisingObject {
        /**
         * 广播自定义参数
         */
        advertiseRequest: AdvertiseReqObj;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartAdvertisingCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartAdvertisingFailCallback;
        /**
         * 广播功率
         *
         * 可选值:
         * - 'low': 功率低;
         * - 'medium': 功率适中;
         * - 'high': 功率高;
         */
        powerLevel?: "low" | "medium" | "high";
        /**
         * 接口调用成功的回调函数
         */
        success?: StartAdvertisingSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopAdvertisingCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopAdvertisingFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopAdvertisingSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface StopAdvertisingOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopAdvertisingCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopAdvertisingFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopAdvertisingSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type WriteCharacteristicValueCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type WriteCharacteristicValueFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type WriteCharacteristicValueSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface WriteCharacteristicValueObject {
        /**
         * 蓝牙特征的 UUID
         */
        characteristicId: string;
        /**
         * 是否需要通知主机 value 已更新
         */
        needNotify: boolean;
        /**
         * 蓝牙特征对应服务的 UUID
         */
        serviceId: string;
        /**
         * characteristic 对应的二进制值
         */
        value: ArrayBuffer;
        /**
         * 可选,处理回包时使用
         */
        callbackId?: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: WriteCharacteristicValueCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: WriteCharacteristicValueFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: WriteCharacteristicValueSuccessCallback;
    }
 
    interface BLEPeripheralServer {
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 添加服务。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.addService.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.addService.html)
         */
        addService(option: AddServiceOption): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 关闭当前服务端。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.close.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.close.html)
         */
        close(option?: BLEPeripheralServerCloseOption): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 移除已连接的设备请求读当前外围设备的特征值事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicReadRequest.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicReadRequest.html)
         */
        offCharacteristicReadRequest(listener?: OffCharacteristicReadRequestCallback): void;
        /**
         *
         * 需要基础库: `2.13.0`
         *
         * 在插件中使用:不支持
         *
         * 移除特征订阅事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicSubscribed.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicSubscribed.html)
         */
        offCharacteristicSubscribed(listener?: OffCharacteristicSubscribedCallback): void;
        /**
         *
         * 需要基础库: `2.13.0`
         *
         * 在插件中使用:不支持
         *
         * 移除取消特征订阅事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicUnsubscribed.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicUnsubscribed.html)
         */
        offCharacteristicUnsubscribed(listener?: OffCharacteristicUnsubscribedCallback): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 移除已连接的设备请求写当前外围设备的特征值事件的监听函数
         *
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicWriteRequest.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.offCharacteristicWriteRequest.html)
         */
        offCharacteristicWriteRequest(listener?: OffCharacteristicWriteRequestCallback): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 监听已连接的设备请求读当前外围设备的特征值事件。收到该消息后需要立刻调用 [writeCharacteristicValue](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.writeCharacteristicValue.html) 写回数据,否则主机不会收到响应。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicReadRequest.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicReadRequest.html)
         */
        onCharacteristicReadRequest(listener: OnCharacteristicReadRequestCallback): void;
        /**
         *
         * 需要基础库: `2.13.0`
         *
         * 在插件中使用:不支持
         *
         * 监听特征订阅事件,仅 iOS 支持。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicSubscribed.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicSubscribed.html)
         */
        onCharacteristicSubscribed(listener: OnCharacteristicSubscribedCallback): void;
        /**
         *
         * 需要基础库: `2.13.0`
         *
         * 在插件中使用:不支持
         *
         * 监听取消特征订阅事件,仅 iOS 支持。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicUnsubscribed.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicUnsubscribed.html)
         */
        onCharacteristicUnsubscribed(listener: OnCharacteristicUnsubscribedCallback): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 监听已连接的设备请求写当前外围设备的特征值事件。收到该消息后需要立刻调用 [writeCharacteristicValue](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.writeCharacteristicValue.html) 写回数据,否则主机不会收到响应。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicWriteRequest.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.onCharacteristicWriteRequest.html)
         */
        onCharacteristicWriteRequest(listener: OnCharacteristicWriteRequestCallback): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 移除服务。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.removeService.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.removeService.html)
         */
        removeService(option: RemoveServiceOption): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 开始广播本地创建的外围设备。
         *
         * **注意**
         *
         * - Android 8.0.9 开始,支持直接使用 16/32/128 位 UUID;
         * - Android 8.0.9 以下版本只支持 128 位 UUID,使用 16/32 位的 UUID 时需要进行补位(系统会自动识别是否属于预分配区间),可以参考[蓝牙指南](https://developers.weixin.qq.com/miniprogram/dev/framework/device/ble.html);
         * - iOS 必须直接使用 16 位的 UUID,不能补位到 128 位,否则系统组包时仍会按照 128 位传输。iOS 暂不支持 32 位 UUID。
         * - iOS 同时只能发起一个广播,安卓支持同时发起多个广播。
         * - 传 beacon 参数时,不能同时传入 deviceName,serviceUuids,manufacturerData 参数。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.startAdvertising.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.startAdvertising.html)
         */
        startAdvertising(Object: StartAdvertisingObject): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 停止广播。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.stopAdvertising.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.stopAdvertising.html)
         */
        stopAdvertising(option?: StopAdvertisingOption): void;
        /**
         *
         * 需要基础库: `2.10.3`
         *
         * 在插件中使用:不支持
         *
         * 往指定特征写入二进制数据值,并通知已连接的主机,从机的特征值已发生变化,该接口会处理是走回包还是走订阅。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.writeCharacteristicValue.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.writeCharacteristicValue.html)
         */
        writeCharacteristicValue(Object: WriteCharacteristicValueObject): void;
    }
 
    interface CreateBLEPeripheralServerSuccessCallbackResult {
        /**
         *
         * 外围设备的服务端。
         *
         * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/BLEPeripheralServer.html)
         */
        server: BLEPeripheralServer;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type CreateBLEPeripheralServerSuccessCallback = (
                result: CreateBLEPeripheralServerSuccessCallbackResult
            ) => void;
 
    interface CreateBLEPeripheralServerOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: CreateBLEPeripheralServerCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: CreateBLEPeripheralServerFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: CreateBLEPeripheralServerSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type CropImageCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type CropImageFailCallback = (res: GeneralCallbackResult) => void;
 
    interface EditImageSuccessCallbackResult {
        /**
         * 编辑后图片的临时文件路径 (本地路径)
         */
        tempFilePath: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type CropImageSuccessCallback = (
                result: EditImageSuccessCallbackResult
            ) => void;
 
    interface CropImageOption {
        /**
         * 裁剪比例
         *
         * 可选值:
         * - '16:9': 宽高比为16比9;
         * - '9:16': 宽高比为9比16;
         * - '4:3': 宽高比为4比3;
         * - '3:4': 宽高比为3比4;
         * - '5:4': 宽高比为5比4;
         * - '4:5': 宽高比为4比5;
         * - '1:1': 宽高比为1比1;
         */
        cropScale: "16:9" | "9:16" | "4:3" | "3:4" | "5:4" | "4:5" | "1:1";
        /**
         * 图片路径,图片的路径,支持本地路径、代码包路径
         */
        src: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: CropImageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: CropImageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: CropImageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type DisableAlertBeforeUnloadCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type DisableAlertBeforeUnloadFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type DisableAlertBeforeUnloadSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface DisableAlertBeforeUnloadOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: DisableAlertBeforeUnloadCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: DisableAlertBeforeUnloadFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: DisableAlertBeforeUnloadSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type EditImageCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type EditImageFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type EditImageSuccessCallback = (
                result: EditImageSuccessCallbackResult
            ) => void;
 
    interface EditImageOption {
        /**
         * 图片路径,图片的路径,支持本地路径、代码包路径
         */
        src: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: EditImageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: EditImageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: EditImageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type EnableAlertBeforeUnloadCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type EnableAlertBeforeUnloadFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type EnableAlertBeforeUnloadSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface EnableAlertBeforeUnloadOption {
        /**
         * 询问对话框内容
         */
        message: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: EnableAlertBeforeUnloadCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: EnableAlertBeforeUnloadFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: EnableAlertBeforeUnloadSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ExitMiniProgramCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ExitMiniProgramFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ExitMiniProgramSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ExitMiniProgramOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ExitMiniProgramCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ExitMiniProgramFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ExitMiniProgramSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ExitVoIPChatCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ExitVoIPChatFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ExitVoIPChatSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ExitVoIPChatOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ExitVoIPChatCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ExitVoIPChatFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ExitVoIPChatSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type FaceDetectCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type FaceDetectFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 人脸角度信息,取值范围 [-1, 1],数值越接近 0 表示越正对摄像头
     */
    interface FaceAngel {
        /**
         * 仰俯角(点头)
         */
        pitch: number;
        /**
         * 翻滚角(左右倾)
         */
        roll: number;
        /**
         * 偏航角(摇头)
         */
        yaw: number;
    }
 
    /**
     * 人脸置信度,取值范围 [0, 1],数值越大置信度越高(遮挡越少)
     */
    interface FaceConf {
        /**
         * 整体可信度
         */
        global: number;
        /**
         * 左眼可信度
         */
        leftEye: number;
        /**
         * 嘴巴可信度
         */
        mouth: number;
        /**
         * 鼻子可信度
         */
        nose: number;
        /**
         * 右眼可信度
         */
        rightEye: number;
    }
 
    interface FaceDetectSuccessCallbackResult {
        /**
         * 人脸角度信息,取值范围 [-1, 1],数值越接近 0 表示越正对摄像头
         */
        angleArray: FaceAngel;
        /**
         * 人脸置信度,取值范围 [0, 1],数值越大置信度越高(遮挡越少)
         */
        confArray: FaceConf;
        /**
         * 脸部方框数值,对象包含 height, weight, originX, originY 四个属性 (origin 为方框左上角坐标)
         */
        detectRect: any;
        /**
         * 多人模式(enableMultiFace)下的人脸信息,每个对象包含上述其它属性
         */
        faceInfo: any;
        /**
         * 标记人脸轮廓的 106 个点位置数组,数组每个对象包含 x 和 y
         */
        pointArray: any;
        /**
         * 脸部中心点横坐标,检测不到人脸则为 -1
         */
        x: number;
        /**
         * 脸部中心点纵坐标,检测不到人脸则为 -1
         */
        y: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type FaceDetectSuccessCallback = (
                result: FaceDetectSuccessCallbackResult
            ) => void;
 
    interface FaceDetectOption {
        /**
         * 图像像素点数据,每四项表示一个像素点的 RGBA
         */
        frameBuffer: ArrayBuffer;
        /**
         * 图像高度
         */
        height: number;
        /**
         * 图像宽度
         */
        width: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: FaceDetectCompleteCallback;
        /**
         * 是否返回当前图像的人脸角度信息
         */
        enableAngle?: boolean;
        /**
         * 是否返回当前图像的人脸的置信度(可表示器官遮挡情况)
         */
        enableConf?: boolean;
        /**
         * 是否返回多张人脸的信息
         */
        enableMultiFace?: boolean;
        /**
         * 是否返回当前图像的人脸(106 个点)
         */
        enablePoint?: boolean;
        /**
         * 接口调用失败的回调函数
         */
        fail?: FaceDetectFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: FaceDetectSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetAvailableAudioSourcesCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetAvailableAudioSourcesFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface GetAvailableAudioSourcesSuccessCallbackResult {
        /**
         * 支持的音频输入源列表,可在 [RecorderManager.start()](https://developers.weixin.qq.com/miniprogram/dev/api/media/recorder/RecorderManager.start.html) 接口中使用。返回值定义参考 https://developer.android.com/reference/kotlin/android/media/MediaRecorder.AudioSource
         *
         * 可选值:
         * - 'auto': 自动设置,默认使用手机麦克风,插上耳麦后自动切换使用耳机麦克风,所有平台适用;
         * - 'buildInMic': 手机麦克风,仅限 iOS;
         * - 'headsetMic': 耳机麦克风,仅限 iOS;
         * - 'mic': 麦克风(没插耳麦时是手机麦克风,插耳麦时是耳机麦克风),仅限 Android;
         * - 'camcorder': 同 mic,适用于录制音视频内容,仅限 Android;
         * - 'voice_communication': 同 mic,适用于实时沟通,仅限 Android;
         * - 'voice_recognition': 同 mic,适用于语音识别,仅限 Android;
         */
        audioSources: ("auto" | "buildInMic" | "headsetMic" | "mic" | "camcorder" | "voice_communication" | "voice_recognition")[];
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetAvailableAudioSourcesSuccessCallback = (
                result: GetAvailableAudioSourcesSuccessCallbackResult
            ) => void;
 
    interface GetAvailableAudioSourcesOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetAvailableAudioSourcesCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetAvailableAudioSourcesFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetAvailableAudioSourcesSuccessCallback;
    }
 
    interface BluetoothError {
        /**
         * 错误信息
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | 0 | ok | 正常 |
         * | -1 | already connect | 已连接 |
         * | 10000 | not init | 未初始化蓝牙适配器 |
         * | 10001 | not available | 当前蓝牙适配器不可用 |
         * | 10002 | no device | 没有找到指定设备 |
         * | 10003 | connection fail | 连接失败 |
         * | 10004 | no service | 没有找到指定服务 |
         * | 10005 | no characteristic | 没有找到指定特征 |
         * | 10006 | no connection | 当前连接已断开 |
         * | 10007 | property not support | 当前特征不支持此操作 |
         * | 10008 | system error | 其余所有系统上报的异常 |
         * | 10009 | system not support | Android 系统特有,系统版本低于 4.3 不支持 BLE |
         * | 10012 | operate time out | 连接超时 |
         * | 10013 | invalid_data | 连接 deviceId 为空或者是格式不正确 |
         */
        errMsg: string;
        /**
         * 错误码
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | 0 | ok | 正常 |
         * | -1 | already connect | 已连接 |
         * | 10000 | not init | 未初始化蓝牙适配器 |
         * | 10001 | not available | 当前蓝牙适配器不可用 |
         * | 10002 | no device | 没有找到指定设备 |
         * | 10003 | connection fail | 连接失败 |
         * | 10004 | no service | 没有找到指定服务 |
         * | 10005 | no characteristic | 没有找到指定特征 |
         * | 10006 | no connection | 当前连接已断开 |
         * | 10007 | property not support | 当前特征不支持此操作 |
         * | 10008 | system error | 其余所有系统上报的异常 |
         * | 10009 | system not support | Android 系统特有,系统版本低于 4.3 不支持 BLE |
         * | 10012 | operate time out | 连接超时 |
         * | 10013 | invalid_data | 连接 deviceId 为空或者是格式不正确 |
         */
        errCode: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetBLEMTUCompleteCallback = (res: BluetoothError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetBLEMTUFailCallback = (res: BluetoothError) => void;
 
    interface GetBLEMTUSuccessCallbackResult {
        /**
         * 最大传输单元
         */
        mtu: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetBLEMTUSuccessCallback = (
                result: GetBLEMTUSuccessCallbackResult
            ) => void;
 
    interface GetBLEMTUOption {
        /**
         * 蓝牙设备 id
         */
        deviceId: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetBLEMTUCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetBLEMTUFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetBLEMTUSuccessCallback;
        /**
         * 写模式 (iOS 特有参数)
         *
         * 可选值:
         * - 'write': 有回复写;
         * - 'writeNoResponse': 无回复写;
         */
        writeType?: "write" | "writeNoResponse";
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetBackgroundAudioPlayerStateCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetBackgroundAudioPlayerStateFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface GetBackgroundAudioPlayerStateSuccessCallbackResult {
        /**
         * 选定音频的播放位置(单位:s),只有在音乐播放中时返回
         */
        currentPosition: number;
        /**
         * 歌曲数据链接,只有在音乐播放中时返回
         */
        dataUrl: string;
        /**
         * 音频的下载进度百分比,只有在音乐播放中时返回
         */
        downloadPercent: number;
        /**
         * 选定音频的长度(单位:s),只有在音乐播放中时返回
         */
        duration: number;
        /**
         * 播放状态
         *
         * 可选值:
         * - 0: 暂停中;
         * - 1: 播放中;
         * - 2: 没有音乐播放;
         */
        status: 0 | 1 | 2;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetBackgroundAudioPlayerStateSuccessCallback = (
                result: GetBackgroundAudioPlayerStateSuccessCallbackResult
            ) => void;
 
    interface GetBackgroundAudioPlayerStateOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetBackgroundAudioPlayerStateCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetBackgroundAudioPlayerStateFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetBackgroundAudioPlayerStateSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetBackgroundFetchDataCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetBackgroundFetchDataFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface GetBackgroundFetchDataSuccessCallbackResult {
        /**
         * 缓存数据
         */
        fetchedData: string;
        /**
         * 小程序页面路径
         */
        path: string;
        /**
         * 传给页面的 query 参数
         */
        query: string;
        /**
         * 进入小程序的场景值
         */
        scene: number;
        /**
         * 客户端拿到缓存数据的时间戳 ms。(iOS 时间戳存在异常,8.0.27 修复)
         */
        timeStamp: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetBackgroundFetchDataSuccessCallback = (
                result: GetBackgroundFetchDataSuccessCallbackResult
            ) => void;
 
    interface GetBackgroundFetchDataOption {
        /**
         * 缓存数据类别,取值为 periodic 或 pre
         */
        fetchType: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetBackgroundFetchDataCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetBackgroundFetchDataFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetBackgroundFetchDataSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetBackgroundFetchTokenCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetBackgroundFetchTokenFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface GetBackgroundFetchTokenSuccessCallbackResult {
        /**
         * 接口调用结果
         */
        errMsg: string;
        /**
         * 自定义的登录态
         */
        token: number;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetBackgroundFetchTokenSuccessCallback = (
                result: GetBackgroundFetchTokenSuccessCallbackResult
            ) => void;
 
    interface GetBackgroundFetchTokenOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetBackgroundFetchTokenCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetBackgroundFetchTokenFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetBackgroundFetchTokenSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetChannelsLiveInfoCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetChannelsLiveInfoFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetChannelsLiveInfoSuccessCallbackResult {
        /**
         * 直播主题
         */
        description: string;
        /**
         * 直播 feedId
         */
        feedId: string;
        /**
         * 视频号头像
         */
        headUrl: string;
        /**
         * 视频号昵称
         */
        nickname: string;
        /**
         * 直播 nonceId
         */
        nonceId: string;
        /**
         * 直播状态,2直播中,3直播结束
         */
        status: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetChannelsLiveInfoSuccessCallback = (
                result: GetChannelsLiveInfoSuccessCallbackResult
            ) => void;
 
    interface GetChannelsLiveInfoOption {
        /**
         * 视频号 id,以“sph”开头的id,可在视频号助手获取
         */
        finderUserName: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetChannelsLiveInfoCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetChannelsLiveInfoFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetChannelsLiveInfoSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetChannelsLiveNoticeInfoCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetChannelsLiveNoticeInfoFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface GetChannelsLiveNoticeInfoSuccessCallbackResult {
        /**
         * 直播封面
         */
        headUrl: string;
        /**
         * 视频号昵称
         */
        nickname: string;
        /**
         * 预告 id
         */
        noticeId: string;
        /**
         * 需要基础库: `2.24.6`
         *
         * 除最近的一条预告信息外,其他的预告信息列表(注意:每次最多返回按时间戳增序排列的15个预告信息,其中时间最近的那个预告信息会在接口其他的返回参数中展示,其余的预告信息会在该字段中展示)。
         */
        otherInfos: any[];
        /**
         * 是否可预约
         */
        reservable: boolean;
        /**
         * 开始时间
         */
        startTime: string;
        /**
         * 预告状态:0可用 1取消 2已用
         */
        status: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetChannelsLiveNoticeInfoSuccessCallback = (
                result: GetChannelsLiveNoticeInfoSuccessCallbackResult
            ) => void;
 
    interface GetChannelsLiveNoticeInfoOption {
        /**
         * 视频号 id,以“sph”开头的id,可在视频号助手获取
         */
        finderUserName: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetChannelsLiveNoticeInfoCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetChannelsLiveNoticeInfoFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetChannelsLiveNoticeInfoSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetChannelsShareKeyCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetChannelsShareKeyFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 推广员
     */
    interface PromoterResult {
        /**
         * 推广员昵称
         */
        finderNickname: string;
        /**
         * 推广员 id
         */
        promoterId: string;
        /**
         * 推广员 openid
         */
        promoterOpenId: string;
    }
 
    interface GetChannelsShareKeySuccessCallbackResult {
        /**
         * 推广员
         */
        promoter: PromoterResult;
        /**
         * 分享者 openid
         */
        sharerOpenId: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetChannelsShareKeySuccessCallback = (
                result: GetChannelsShareKeySuccessCallbackResult
            ) => void;
 
    interface GetChannelsShareKeyOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetChannelsShareKeyCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetChannelsShareKeyFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetChannelsShareKeySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetFuzzyLocationCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetFuzzyLocationFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetFuzzyLocationSuccessCallbackResult {
        /**
         * 纬度,范围为 -90~90,负数表示南纬
         */
        latitude: number;
        /**
         * 经度,范围为 -180~180,负数表示西经
         */
        longitude: number;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetFuzzyLocationSuccessCallback = (
                result: GetFuzzyLocationSuccessCallbackResult
            ) => void;
 
    interface GetFuzzyLocationOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetFuzzyLocationCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetFuzzyLocationFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetFuzzyLocationSuccessCallback;
        /**
         * wgs84 返回 gps 坐标,gcj02 返回可用于 wx.openLocation 的坐标
         */
        type?: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetGroupEnterInfoCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetGroupEnterInfoFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetGroupEnterInfoSuccessCallbackResult {
        /**
         * 需要基础库: `2.7.0`
         *
         * 敏感数据对应的云 ID,开通[云开发](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)的小程序才会返回,可通过云调用直接获取开放数据,详细见[云调用直接获取开放数据](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#method-cloud)
         */
        cloudID: string;
        /**
         * 包括敏感数据在内的完整转发信息的加密数据,详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
         */
        encryptedData: string;
        /**
         * 错误信息
         */
        errMsg: string;
        /**
         * 加密算法的初始向量,详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
         */
        iv: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetGroupEnterInfoSuccessCallback = (
                result: GetGroupEnterInfoSuccessCallbackResult
            ) => void;
 
    interface GetGroupEnterInfoOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetGroupEnterInfoCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetGroupEnterInfoFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetGroupEnterInfoSuccessCallback;
    }
 
    interface NFCError {
        /**
         * 错误信息
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | 0 | ok | 正常 |
         * | 13000 |  | 当前设备不支持NFC |
         * | 13001 |  | 当前设备支持NFC,但系统NFC开关未开启 |
         * | 13002 |  | 当前设备支持NFC,但不支持HCE |
         * | 13003 |  | AID列表参数格式错误 |
         * | 13004 |  | 未设置微信为默认NFC支付应用 |
         * | 13005 |  | 返回的指令不合法 |
         * | 13006 |  | 注册AID失败 |
         */
        errMsg: string;
        /**
         * 错误码
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | 0 | ok | 正常 |
         * | 13000 |  | 当前设备不支持NFC |
         * | 13001 |  | 当前设备支持NFC,但系统NFC开关未开启 |
         * | 13002 |  | 当前设备支持NFC,但不支持HCE |
         * | 13003 |  | AID列表参数格式错误 |
         * | 13004 |  | 未设置微信为默认NFC支付应用 |
         * | 13005 |  | 返回的指令不合法 |
         * | 13006 |  | 注册AID失败 |
         */
        errCode: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetHCEStateCompleteCallback = (res: NFCError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetHCEStateFailCallback = (res: NFCError) => void;
    /**
     * 接口调用成功的回调函数
     */
    type GetHCEStateSuccessCallback = (res: NFCError) => void;
 
    interface GetHCEStateOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetHCEStateCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetHCEStateFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetHCEStateSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetLocalIPAddressCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetLocalIPAddressFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetLocalIPAddressSuccessCallbackResult {
        /**
         * 错误信息
         */
        errMsg: string;
        /**
         * 本机局域网IP地址
         */
        localip: string;
        /**
         * 本机局域网子网掩码,基础库 2.24.0 开始支持
         */
        netmask: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetLocalIPAddressSuccessCallback = (
                result: GetLocalIPAddressSuccessCallbackResult
            ) => void;
 
    interface GetLocalIPAddressOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetLocalIPAddressCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetLocalIPAddressFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetLocalIPAddressSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetScreenRecordingStateCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetScreenRecordingStateFailCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface GetScreenRecordingStateSuccessCallbackResult {
        /**
         * 录屏状态
         *
         * 可选值:
         * - 'on': 开启;
         * - 'off': 关闭;
         */
        state: "on" | "off";
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetScreenRecordingStateSuccessCallback = (
                result: GetScreenRecordingStateSuccessCallbackResult
            ) => void;
 
    interface GetScreenRecordingStateOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetScreenRecordingStateCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetScreenRecordingStateFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetScreenRecordingStateSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetShareInfoCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetShareInfoFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type GetShareInfoSuccessCallback = (
                result: GetGroupEnterInfoSuccessCallbackResult
            ) => void;
 
    interface GetShareInfoOption {
        /**
         * shareTicket
         */
        shareTicket: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetShareInfoCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetShareInfoFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetShareInfoSuccessCallback;
        /**
         * 需要基础库: `1.9.90`
         *
         * 超时时间,单位 ms
         */
        timeout?: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetSkylineInfoCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetSkylineInfoFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type GetSkylineInfoSuccessCallback = (
                /** 当前运行环境对于 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的支持情况 */
                result: SkylineInfo
            ) => void;
 
    interface GetSkylineInfoOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetSkylineInfoCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetSkylineInfoFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetSkylineInfoSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetSystemInfoAsyncCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetSystemInfoAsyncFailCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 需要基础库: `2.12.3`
     *
     * 当前小程序运行的宿主环境
     */
    interface SystemInfoHost {
        /**
         * 宿主 app 对应的 appId
         */
        appId: string;
    }
 
    interface SystemInfo {
        /**
         * 需要基础库: `1.1.0`
         *
         * 客户端基础库版本
         */
        SDKVersion: string;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信使用相册的开关(仅 iOS 有效)
         */
        albumAuthorized: boolean;
        /**
         * 需要基础库: `1.8.0`
         *
         * 设备性能等级(仅 Android)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好,目前最高不到50)
         */
        benchmarkLevel: number;
        /**
         * 需要基础库: `2.6.0`
         *
         * 蓝牙的系统开关
         */
        bluetoothEnabled: boolean;
        /**
         * 需要基础库: `1.5.0`
         *
         * 设备品牌
         */
        brand: string;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信使用摄像头的开关
         */
        cameraAuthorized: boolean;
        /**
         * 设备方向
         *
         * 可选值:
         * - 'portrait': 竖屏;
         * - 'landscape': 横屏;
         */
        deviceOrientation: "portrait" | "landscape";
        /**
         * 需要基础库: `2.15.0`
         *
         * 是否已打开调试。可通过右上角菜单或 [uni.setEnableDebug](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html) 打开调试。
         */
        enableDebug: boolean;
        /**
         * 需要基础库: `1.5.0`
         *
         * 用户字体大小(单位px)。以微信客户端「我-设置-通用-字体大小」中的设置为准
         */
        fontSizeSetting: number;
        /**
         * 需要基础库: `2.12.3`
         *
         * 当前小程序运行的宿主环境
         */
        host: SystemInfoHost;
        /**
         * 微信设置的语言
         */
        language: string;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信使用定位的开关
         */
        locationAuthorized: boolean;
        /**
         * 需要基础库: `2.6.0`
         *
         * 地理位置的系统开关
         */
        locationEnabled: boolean;
        /**
         * `true` 表示模糊定位,`false` 表示精确定位,仅 iOS 支持
         */
        locationReducedAccuracy: boolean;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信使用麦克风的开关
         */
        microphoneAuthorized: boolean;
        /**
         * 设备型号。新机型刚推出一段时间会显示unknown,微信会尽快进行适配。
         */
        model: string;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信通知带有提醒的开关(仅 iOS 有效)
         */
        notificationAlertAuthorized: boolean;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信通知的开关
         */
        notificationAuthorized: boolean;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信通知带有标记的开关(仅 iOS 有效)
         */
        notificationBadgeAuthorized: boolean;
        /**
         * 需要基础库: `2.6.0`
         *
         * 允许微信通知带有声音的开关(仅 iOS 有效)
         */
        notificationSoundAuthorized: boolean;
        /**
         * 需要基础库: `2.19.3`
         *
         * 允许微信使用日历的开关
         */
        phoneCalendarAuthorized: boolean;
        /**
         * 设备像素比
         */
        pixelRatio: number;
        /**
         * 客户端平台
         *
         * 可选值:
         * - 'ios': iOS微信(包含 iPhone、iPad);
         * - 'android': Android微信;
         * - 'windows': Windows微信;
         * - 'mac': macOS微信;
         * - 'devtools': 微信开发者工具;
         */
        platform: "ios" | "android" | "windows" | "mac" | "devtools";
        /**
         * 需要基础库: `2.7.0`
         *
         * 在竖屏正方向下的安全区域
         */
        safeArea: SafeArea;
        /**
         * 需要基础库: `1.1.0`
         *
         * 屏幕高度,单位px
         */
        screenHeight: number;
        /**
         * 需要基础库: `1.1.0`
         *
         * 屏幕宽度,单位px
         */
        screenWidth: number;
        /**
         * 需要基础库: `1.9.0`
         *
         * 状态栏的高度,单位px
         */
        statusBarHeight: number;
        /**
         * 操作系统及版本
         */
        system: string;
        /**
         * 微信版本号
         */
        version: string;
        /**
         * 需要基础库: `2.6.0`
         *
         * Wi-Fi 的系统开关
         */
        wifiEnabled: boolean;
        /**
         * 可使用窗口高度,单位px
         */
        windowHeight: number;
        /**
         * 可使用窗口宽度,单位px
         */
        windowWidth: number;
        /**
         * 需要基础库: `2.11.0`
         *
         * 系统当前主题,取值为`light`或`dark`,全局配置`"darkmode":true`时才能获取,否则为 undefined (不支持小游戏)
         *
         * 可选值:
         * - 'dark': 深色主题;
         * - 'light': 浅色主题;
         */
        theme?: "dark" | "light";
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetSystemInfoAsyncSuccessCallback = (result: SystemInfo) => void;
 
    interface GetSystemInfoAsyncOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetSystemInfoAsyncCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetSystemInfoAsyncFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetSystemInfoAsyncSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type GetWeRunDataCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type GetWeRunDataFailCallback = (res: GeneralCallbackResult) => void;
 
    interface GetWeRunDataSuccessCallbackResult {
        /**
         * 需要基础库: `2.7.0`
         *
         * 敏感数据对应的云 ID,开通云开发的小程序才会返回,可通过云调用直接获取开放数据,详细见[云调用直接获取开放数据](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#method-cloud)
         */
        cloudID: string;
        /**
         * 包括敏感数据在内的完整用户信息的加密数据,详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)。解密后得到的数据结构见后文
         */
        encryptedData: string;
        /**
         * 加密算法的初始向量,详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
         */
        iv: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type GetWeRunDataSuccessCallback = (
                result: GetWeRunDataSuccessCallbackResult
            ) => void;
 
    interface GetWeRunDataOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: GetWeRunDataCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: GetWeRunDataFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: GetWeRunDataSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type InitFaceDetectCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type InitFaceDetectFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type InitFaceDetectSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface InitFaceDetectOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: InitFaceDetectCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: InitFaceDetectFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: InitFaceDetectSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type IsBluetoothDevicePairedCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type IsBluetoothDevicePairedFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type IsBluetoothDevicePairedSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface IsBluetoothDevicePairedOption {
        /**
         * 蓝牙设备 id
         */
        deviceId: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: IsBluetoothDevicePairedCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: IsBluetoothDevicePairedFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: IsBluetoothDevicePairedSuccessCallback;
    }
 
    interface VoIP1v1ChatUser {
        /**
         * 昵称
         */
        nickname: string;
        /**
         * 小程序内 openid
         */
        openid: string;
        /**
         * 头像
         */
        headImage?: string;
    }
 
    interface Join1v1ChatError {
        /**
         * 错误信息
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | -20000 | not open 1v1 Chat | 未开通双人通话 |
         * | -20001 | device not support | 当前设备不支持 |
         * | -20002 | on call | 正在通话中 |
         * | -20003 | occupied by other miniprogram | 其它小程序正在通话中 |
         * | -30000 | system error | 内部系统错误 |
         * | -30001 | wechat has no camera authorization | 微信缺失相机权限 |
         * | -30002 | wechat has no record authorization | 微信缺失录音权限 |
         * | -30003 | miniprogram has no record authorization | 小程序缺失录音权限 |
         * | -30004 | miniprogram has no camera authorization | 小程序缺失相机权限 |
         * | -1 |  | 当前已在房间内 |
         * | -2 |  | 录音设备被占用,可能是当前正在使用微信内语音通话或系统通话 |
         * | -3 |  | 加入会话期间退出(可能是用户主动退出,或者退后台、来电等原因),因此加入失败 |
         * | -1000 |  | 系统错误 |
         */
        errMsg: string;
        /**
         * 错误码
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | -20000 | not open 1v1 Chat | 未开通双人通话 |
         * | -20001 | device not support | 当前设备不支持 |
         * | -20002 | on call | 正在通话中 |
         * | -20003 | occupied by other miniprogram | 其它小程序正在通话中 |
         * | -30000 | system error | 内部系统错误 |
         * | -30001 | wechat has no camera authorization | 微信缺失相机权限 |
         * | -30002 | wechat has no record authorization | 微信缺失录音权限 |
         * | -30003 | miniprogram has no record authorization | 小程序缺失录音权限 |
         * | -30004 | miniprogram has no camera authorization | 小程序缺失相机权限 |
         * | -1 |  | 当前已在房间内 |
         * | -2 |  | 录音设备被占用,可能是当前正在使用微信内语音通话或系统通话 |
         * | -3 |  | 加入会话期间退出(可能是用户主动退出,或者退后台、来电等原因),因此加入失败 |
         * | -1000 |  | 系统错误 |
         */
        errCode: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type Join1v1ChatCompleteCallback = (res: Join1v1ChatError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type Join1v1ChatFailCallback = (res: Join1v1ChatError) => void;
    /**
     * 接口调用成功的回调函数
     */
    type Join1v1ChatSuccessCallback = (res: Join1v1ChatError) => void;
 
    interface Join1v1ChatOption {
        /**
         * 呼叫方信息
         */
        caller: VoIP1v1ChatUser;
        /**
         * 接听方信息
         */
        listener: VoIP1v1ChatUser;
        /**
         * 窗口背景色(音频通话背景以及小窗模式背景)
         *
         * 可选值:
         * - 0: #262930;
         * - 1: #FA5151;
         * - 2: #FA9D3B;
         * - 3: #3D7257;
         * - 4: #1485EE;
         * - 5: #6467F0;
         */
        backgroundType?: 0 | 1 | 2 | 3 | 4 | 5;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: Join1v1ChatCompleteCallback;
        /**
         * 不允许切换到语音通话
         */
        disableSwitchVoice?: boolean;
        /**
         * 接口调用失败的回调函数
         */
        fail?: Join1v1ChatFailCallback;
        /**
         * 小窗样式
         */
        minWindowType?: number;
        /**
         * 通话类型
         *
         * 可选值:
         * - 'voice': 语音通话;
         * - 'video': 视频通话;
         */
        roomType?: "video" | "voice";
        /**
         * 接口调用成功的回调函数
         */
        success?: Join1v1ChatSuccessCallback;
    }
 
    interface JoinVoIPChatError {
        /**
         * 错误信息
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | -1 | 当前已在房间内 |  |
         * | -2 | 录音设备被占用,可能是当前正在使用微信内语音通话或系统通话 |  |
         * | -3 | 加入会话期间退出(可能是用户主动退出,或者退后台、来电等原因),因此加入失败 |  |
         * | -1000 | 系统错误 |  |
         */
        errMsg: string;
        /**
         * 错误码
         *
         * | 错误码 | 错误信息 | 说明 |
         * | - | - | - |
         * | -1 | 当前已在房间内 |  |
         * | -2 | 录音设备被占用,可能是当前正在使用微信内语音通话或系统通话 |  |
         * | -3 | 加入会话期间退出(可能是用户主动退出,或者退后台、来电等原因),因此加入失败 |  |
         * | -1000 | 系统错误 |  |
         */
        errCode: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type JoinVoIPChatCompleteCallback = (res: JoinVoIPChatError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type JoinVoIPChatFailCallback = (res: JoinVoIPChatError) => void;
 
    /**
     * 静音设置
     */
    interface MuteConfig {
        /**
         * 是否静音耳机
         */
        muteEarphone?: boolean;
        /**
         * 是否静音麦克风
         */
        muteMicrophone?: boolean;
    }
 
    interface JoinVoIPChatSuccessCallbackResult {
        /**
         * 错误码
         */
        errCode: number;
        /**
         * 调用结果
         */
        errMsg: string;
        /**
         * 在此通话中的成员 openId 名单
         */
        openIdList: string[];
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type JoinVoIPChatSuccessCallback = (
                result: JoinVoIPChatSuccessCallbackResult
            ) => void;
 
    interface JoinVoIPChatOption {
        /**
         * 小游戏内此房间/群聊的 ID。同一时刻传入相同 groupId 的用户会进入到同个实时语音房间。
         */
        groupId: string;
        /**
         * 验证所需的随机字符串
         */
        nonceStr: string;
        /**
         * 签名,用于验证小游戏的身份
         */
        signature: string;
        /**
         * 验证所需的时间戳
         */
        timeStamp: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: JoinVoIPChatCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: JoinVoIPChatFailCallback;
        /**
         * 静音设置
         */
        muteConfig?: MuteConfig;
        /**
         * 房间类型
         *
         * 可选值:
         * - 'voice': 音频房间,用于语音通话;
         * - 'video': 视频房间,结合 [voip-room](https://developers.weixin.qq.com/miniprogram/dev/component/voip-room.html) 组件可显示成员画面;
         */
        roomType?: "video" | "voice";
        /**
         * 接口调用成功的回调函数
         */
        success?: JoinVoIPChatSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type MakeBluetoothPairCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type MakeBluetoothPairFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type MakeBluetoothPairSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface MakeBluetoothPairOption {
        /**
         * 蓝牙设备 id
         */
        deviceId: string;
        /**
         * pin 码,Base64 格式。
         */
        pin: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: MakeBluetoothPairCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: MakeBluetoothPairFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: MakeBluetoothPairSuccessCallback;
        /**
         * 超时时间,单位 ms
         */
        timeout?: number;
    }
 
    /**
     * onAppHide 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffAppHideCallback = (res: GeneralCallbackResult) => void;
    /**
     * onAppShow 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffAppShowCallback = (res: GeneralCallbackResult) => void;
    /**
     * onAudioInterruptionBegin 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffAudioInterruptionBeginCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * onAudioInterruptionEnd 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffAudioInterruptionEndCallback = (res: GeneralCallbackResult) => void;
 
    interface OnBLECharacteristicValueChangeListenerResult {
        /**
         * 蓝牙特征的 UUID
         */
        characteristicId: string;
        /**
         * 蓝牙设备 id
         */
        deviceId: string;
        /**
         * 蓝牙特征对应服务的 UUID
         */
        serviceId: string;
        /**
         * 特征最新的值
         */
        value: ArrayBuffer;
    }
 
    /**
     * onBLECharacteristicValueChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBLECharacteristicValueChangeCallback = (
                result: OnBLECharacteristicValueChangeListenerResult
            ) => void;
 
    interface OnBLEConnectionStateChangeListenerResult {
        /**
         * 是否处于已连接状态
         */
        connected: boolean;
        /**
         * 蓝牙设备 id
         */
        deviceId: string;
    }
 
    /**
     * onBLEConnectionStateChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBLEConnectionStateChangeCallback = (
                result: OnBLEConnectionStateChangeListenerResult
            ) => void;
 
    interface OnBLEMTUChangeListenerResult {
        /**
         * 蓝牙设备 id
         */
        deviceId: string;
        /**
         * 最大传输单元
         */
        mtu: number;
    }
 
    /**
     * onBLEMTUChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBLEMTUChangeCallback = (
                result: OnBLEMTUChangeListenerResult
            ) => void;
 
    interface OnBLEPeripheralConnectionStateChangedListenerResult {
        /**
         * 连接目前状态
         */
        connected: boolean;
        /**
         * 连接状态变化的设备 id
         */
        deviceId: string;
        /**
         * server 的 UUID
         */
        serverId: string;
    }
 
    /**
     * onBLEPeripheralConnectionStateChanged 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBLEPeripheralConnectionStateChangedCallback = (
                result: OnBLEPeripheralConnectionStateChangedListenerResult
            ) => void;
    /**
     * onBeaconServiceChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBeaconServiceChangeCallback = (res: GeneralCallbackResult) => void;
    /**
     * onBeaconUpdate 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBeaconUpdateCallback = (res: GeneralCallbackResult) => void;
 
    interface OnBluetoothAdapterStateChangeListenerResult {
        /**
         * 蓝牙适配器是否可用
         */
        available: boolean;
        /**
         * 蓝牙适配器是否处于搜索状态
         */
        discovering: boolean;
    }
 
    /**
     * onBluetoothAdapterStateChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBluetoothAdapterStateChangeCallback = (
                result: OnBluetoothAdapterStateChangeListenerResult
            ) => void;
    /**
     * onBluetoothDeviceFound 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffBluetoothDeviceFoundCallback = (res: GeneralCallbackResult) => void;
 
    interface OnCopyUrlListenerResult {
        /**
         * 用短链打开小程序时当前页面携带的查询字符串。小程序中使用时,应在进入页面时调用 `wx.onCopyUrl` 自定义 `query`,退出页面时调用 `wx.offCopyUrl`,防止影响其它页面。
         */
        query: string;
    }
 
    /**
     * onCopyUrl 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffCopyUrlCallback = (result: OnCopyUrlListenerResult) => void;
    /**
     * onDeviceMotionChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffDeviceMotionChangeCallback = (res: GeneralCallbackResult) => void;
 
    interface OnHCEMessageListenerResult {
        /**
         * `messageType=1` 时 ,客户端接收到 NFC 设备的指令
         */
        data: ArrayBuffer;
        /**
         * 消息类型
         *
         * 可选值:
         * - 1: HCE APDU Command类型,小程序需对此指令进行处理,并调用 sendHCEMessage 接口返回处理指令;
         * - 2: 设备离场事件类型;
         */
        messageType: 1 | 2;
        /**
         * `messageType=2` 时,原因
         */
        reason: number;
    }
 
    /**
     * onHCEMessage 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffHCEMessageCallback = (result: OnHCEMessageListenerResult) => void;
 
    interface OnLazyLoadErrorListenerResult {
        /**
         * 详细信息
         */
        errMsg: string;
        /**
         * 异步组件所属的分包
         */
        subpackage: any[];
        /**
         * 'subpackage' 失败类型
         */
        type: string;
    }
 
    /**
     * onLazyLoadError 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffLazyLoadErrorCallback = (
                result: OnLazyLoadErrorListenerResult
            ) => void;
    /**
     * onLocalServiceDiscoveryStop 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffLocalServiceDiscoveryStopCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface OnLocalServiceFoundListenerResult {
        /**
         * 服务的 ip 地址
         */
        ip: string;
        /**
         * 服务的端口
         */
        port: number;
        /**
         * 服务的名称
         */
        serviceName: string;
        /**
         * 服务的类型
         */
        serviceType: string;
    }
 
    /**
     * onLocalServiceFound 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffLocalServiceFoundCallback = (
                result: OnLocalServiceFoundListenerResult
            ) => void;
 
    interface OnLocalServiceLostListenerResult {
        /**
         * 服务的名称
         */
        serviceName: string;
        /**
         * 服务的类型
         */
        serviceType: string;
    }
 
    /**
     * onLocalServiceLost 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffLocalServiceLostCallback = (
                result: OnLocalServiceLostListenerResult
            ) => void;
    /**
     * onLocalServiceResolveFail 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffLocalServiceResolveFailCallback = (
                result: OnLocalServiceLostListenerResult
            ) => void;
 
    interface OnNetworkWeakChangeListenerResult {
        /**
         * 当前网络类型
         */
        networkType: string;
        /**
         * 当前是否处于弱网状态
         */
        weakNet: boolean;
    }
 
    /**
     * onNetworkWeakChange 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffNetworkWeakChangeCallback = (
                result: OnNetworkWeakChangeListenerResult
            ) => void;
 
    interface OnPageNotFoundListenerResult {
        /**
         * 是否本次启动的首个页面(例如从分享等入口进来,首个页面是开发者配置的分享页面)
         */
        isEntryPage: boolean;
        /**
         * 不存在页面的路径 (代码包路径)
         */
        path: string;
        /**
         * 打开不存在页面的 query 参数
         */
        query: any;
    }
 
    /**
     * onPageNotFound 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffPageNotFoundCallback = (
                result: OnPageNotFoundListenerResult
            ) => void;
 
    interface OnScreenRecordingStateChangedListenerResult {
        /**
         * 录屏状态
         *
         * 可选值:
         * - 'start': 开始录屏;
         * - 'stop': 结束录屏;
         */
        state: "start" | "stop";
    }
 
    /**
     * onScreenRecordingStateChanged 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffScreenRecordingStateChangedCallback = (
                result: OnScreenRecordingStateChangedListenerResult
            ) => void;
 
    interface OnVoIPChatInterruptedListenerResult {
        /**
         * 错误码
         */
        errCode: number;
        /**
         * 调用结果(错误原因)
         */
        errMsg: string;
    }
 
    /**
     * onVoIPChatInterrupted 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffVoIPChatInterruptedCallback = (
                result: OnVoIPChatInterruptedListenerResult
            ) => void;
 
    interface OnVoIPChatMembersChangedListenerResult {
        /**
         * 错误码
         */
        errCode: number;
        /**
         * 调用结果
         */
        errMsg: string;
        /**
         * 还在实时语音通话中的成员 openId 名单
         */
        openIdList: string[];
    }
 
    /**
     * onVoIPChatMembersChanged 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffVoIPChatMembersChangedCallback = (
                result: OnVoIPChatMembersChangedListenerResult
            ) => void;
 
    interface OnVoIPChatSpeakersChangedListenerResult {
        /**
         * 错误码
         */
        errCode: number;
        /**
         * 调用结果(错误原因)
         */
        errMsg: string;
        /**
         * 还在实时语音通话中的成员 openId 名单
         */
        openIdList: string[];
    }
 
    /**
     * onVoIPChatSpeakersChanged 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffVoIPChatSpeakersChangedCallback = (
                result: OnVoIPChatSpeakersChangedListenerResult
            ) => void;
 
    interface OnVoIPChatStateChangedListenerResult {
        /**
         * 事件码
         */
        code: number;
        /**
         * 附加信息
         */
        data: any;
        /**
         * 错误码
         */
        errCode: number;
        /**
         * 调用结果
         */
        errMsg: string;
    }
 
    /**
     * onVoIPChatStateChanged 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffVoIPChatStateChangedCallback = (
                result: OnVoIPChatStateChangedListenerResult
            ) => void;
 
    interface OnVoIPVideoMembersChangedListenerResult {
        /**
         * 错误码
         */
        errCode: number;
        /**
         * 调用结果
         */
        errMsg: string;
        /**
         * 开启视频的成员名单
         */
        openIdList: string[];
    }
 
    /**
     * onVoIPVideoMembersChanged 传入的监听函数。不传此参数则移除所有监听函数。
     */
    type OffVoIPVideoMembersChangedCallback = (
                result: OnVoIPVideoMembersChangedListenerResult
            ) => void;
    /**
     * 小程序切后台事件的监听函数
     */
    type OnAppHideCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 打开的文件信息数组,只有从聊天素材场景打开(scene为1173)才会携带该参数
     */
    interface ForwardMaterials {
        /**
         * 文件名
         */
        name: string;
        /**
         * 文件路径(如果是webview则是url)
         */
        path: string;
        /**
         * 文件大小
         */
        size: number;
        /**
         * 文件的mimetype类型
         */
        type: string;
    }
 
    /**
     * 启动参数
     */
    interface LaunchOptionsApp {
        /**
         * 需要基础库: `2.20.0`
         *
         * API 类别
         *
         * 可选值:
         * - 'default': 默认类别;
         * - 'nativeFunctionalized': 原生功能化,视频号直播商品、商品橱窗等场景打开的小程序;
         * - 'browseOnly': 仅浏览,朋友圈快照页等场景打开的小程序;
         * - 'embedded': 内嵌,通过打开半屏小程序能力打开的小程序;
         */
        apiCategory: "default" | "nativeFunctionalized" | "browseOnly" | "embedded";
        /**
         * 打开的文件信息数组,只有从聊天素材场景打开(scene为1173)才会携带该参数
         */
        forwardMaterials: ForwardMaterials[];
        /**
         * 启动小程序的路径 (代码包路径)
         */
        path: string;
        /**
         * 启动小程序的 query 参数
         */
        query: any;
        /**
         * 来源信息。从另一个小程序、公众号或 App 进入小程序时返回。否则返回 `{}`。(参见后文注意)
         */
        referrerInfo: ReferrerInfo;
        /**
         * 启动小程序的[场景值](https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/scene.html)
         */
        scene: number;
        /**
         * 从微信群聊/单聊打开小程序时,chatType 表示具体微信群聊/单聊类型
         *
         * 可选值:
         * - 1: 微信联系人单聊;
         * - 2: 企业微信联系人单聊;
         * - 3: 普通微信群聊;
         * - 4: 企业微信互通群聊;
         */
        chatType?: 1 | 2 | 3 | 4;
        /**
         * shareTicket,详见[获取更多转发信息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html)
         */
        shareTicket?: string;
    }
 
    /**
     * 小程序切前台事件的监听函数
     */
    type OnAppShowCallback = (
                /** 启动参数 */
                options: LaunchOptionsApp
            ) => void;
    /**
     * 音频因为受到系统占用而被中断开始事件的监听函数
     */
    type OnAudioInterruptionBeginCallback = (res: GeneralCallbackResult) => void;
    /**
     * 音频中断结束事件的监听函数
     */
    type OnAudioInterruptionEndCallback = (res: GeneralCallbackResult) => void;
    /**
     * 蓝牙低功耗的最大传输单元变化事件的监听函数
     */
    type OnBLEMTUChangeCallback = (result: OnBLEMTUChangeListenerResult) => void;
    /**
     * 当前外围设备被连接或断开连接事件的监听函数
     */
    type OnBLEPeripheralConnectionStateChangedCallback = (
                result: OnBLEPeripheralConnectionStateChangedListenerResult
            ) => void;
    /**
     * 音乐暂停事件的监听函数
     */
    type OnBackgroundAudioPauseCallback = (res: GeneralCallbackResult) => void;
    /**
     * 音乐播放事件的监听函数
     */
    type OnBackgroundAudioPlayCallback = (res: GeneralCallbackResult) => void;
    /**
     * 音乐停止事件的监听函数
     */
    type OnBackgroundAudioStopCallback = (res: GeneralCallbackResult) => void;
 
    interface OnBackgroundFetchDataListenerResult {
        /**
         * 缓存数据类别,取值为 periodic 或 pre
         */
        fetchType: string;
        /**
         * 缓存数据
         */
        fetchedData: string;
        /**
         * 小程序页面路径
         */
        path: string;
        /**
         * 传给页面的 query 参数
         */
        query: string;
        /**
         * 进入小程序的场景值
         */
        scene: number;
        /**
         * 客户端拿到缓存数据的时间戳
         */
        timeStamp: number;
    }
 
    /**
     * 收到 backgroundFetch 数据事件的监听函数
     */
    type OnBackgroundFetchDataCallback = (
                result: OnBackgroundFetchDataListenerResult
            ) => void;
    /**
     * 用户点击右上角菜单的「复制链接」按钮时触发的事件的监听函数
     */
    type OnCopyUrlCallback = (result: OnCopyUrlListenerResult) => void;
 
    interface OnDeviceMotionChangeListenerResult {
        /**
         * 当 手机坐标 X/Y 和 地球 X/Y 重合时,绕着 Z 轴转动的夹角为 alpha,范围值为 [0, 2*PI)。逆时针转动为正。
         */
        alpha: number;
        /**
         * 当手机坐标 Y/Z 和地球 Y/Z 重合时,绕着 X 轴转动的夹角为 beta。范围值为 [-1*PI, PI) 。顶部朝着地球表面转动为正。也有可能朝着用户为正。
         */
        beta: number;
        /**
         * 当手机 X/Z 和地球 X/Z 重合时,绕着 Y 轴转动的夹角为 gamma。范围值为 [-1*PI/2, PI/2)。右边朝着地球表面转动为正。
         */
        gamma: number;
    }
 
    /**
     * 设备方向变化事件的监听函数
     */
    type OnDeviceMotionChangeCallback = (
                result: OnDeviceMotionChangeListenerResult
            ) => void;
    /**
     * 接收 NFC 设备消息事件的监听函数
     */
    type OnHCEMessageCallback = (result: OnHCEMessageListenerResult) => void;
    /**
     * 小程序异步组件加载失败事件的监听函数
     */
    type OnLazyLoadErrorCallback = (
                result: OnLazyLoadErrorListenerResult
            ) => void;
    /**
     * mDNS 服务停止搜索的事件的监听函数
     */
    type OnLocalServiceDiscoveryStopCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * mDNS 服务发现的事件的监听函数
     */
    type OnLocalServiceFoundCallback = (
                result: OnLocalServiceFoundListenerResult
            ) => void;
    /**
     * mDNS 服务离开的事件的监听函数
     */
    type OnLocalServiceLostCallback = (
                result: OnLocalServiceLostListenerResult
            ) => void;
    /**
     * mDNS 服务解析失败的事件的监听函数
     */
    type OnLocalServiceResolveFailCallback = (
                result: OnLocalServiceLostListenerResult
            ) => void;
    /**
     * 弱网状态变化事件的监听函数
     */
    type OnNetworkWeakChangeCallback = (
                result: OnNetworkWeakChangeListenerResult
            ) => void;
    /**
     * 小程序要打开的页面不存在事件的监听函数
     */
    type OnPageNotFoundCallback = (result: OnPageNotFoundListenerResult) => void;
    /**
     * 用户录屏事件的监听函数
     */
    type OnScreenRecordingStateChangedCallback = (
                result: OnScreenRecordingStateChangedListenerResult
            ) => void;
    /**
     * 被动断开实时语音通话事件的监听函数
     */
    type OnVoIPChatInterruptedCallback = (
                result: OnVoIPChatInterruptedListenerResult
            ) => void;
    /**
     * 实时语音通话成员在线状态变化事件的监听函数
     */
    type OnVoIPChatMembersChangedCallback = (
                result: OnVoIPChatMembersChangedListenerResult
            ) => void;
    /**
     * 实时语音通话成员通话状态变化事件的监听函数
     */
    type OnVoIPChatSpeakersChangedCallback = (
                result: OnVoIPChatSpeakersChangedListenerResult
            ) => void;
    /**
     * 房间状态变化事件的监听函数
     */
    type OnVoIPChatStateChangedCallback = (
                result: OnVoIPChatStateChangedListenerResult
            ) => void;
    /**
     * 实时语音通话成员视频状态变化事件的监听函数
     */
    type OnVoIPVideoMembersChangedCallback = (
                result: OnVoIPVideoMembersChangedListenerResult
            ) => void;
 
    /**
     * 需要打开的卡券列表
     */
    interface OpenCardRequestInfo {
        /**
         * 卡券 ID
         */
        cardId: string;
        /**
         * 由 [uni.addCard](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/card/wx.addCard.html) 的返回对象中的加密 code 通过解密后得到,解密请参照:[code 解码接口](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1499332673_Unm7V)
         */
        code: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenCardCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenCardFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenCardSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface OpenCardOption {
        /**
         * 需要打开的卡券列表
         */
        cardList: OpenCardRequestInfo[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenCardCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenCardFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenCardSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenChannelsActivityCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenChannelsActivityFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenChannelsActivitySuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface OpenChannelsActivityOption {
        /**
         * 视频 feedId
         */
        feedId: string;
        /**
         * 视频号 id,以“sph”开头的id,可在视频号助手获取
         */
        finderUserName: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenChannelsActivityCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenChannelsActivityFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenChannelsActivitySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenChannelsEventCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenChannelsEventFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenChannelsEventSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface OpenChannelsEventOption {
        /**
         * 活动 id
         */
        eventId: string;
        /**
         * 视频号 id,以“sph”开头的id,可在视频号助手获取
         */
        finderUserName: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenChannelsEventCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenChannelsEventFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenChannelsEventSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenChannelsLiveCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenChannelsLiveFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenChannelsLiveSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface OpenChannelsLiveOption {
        /**
         * 视频号 id,以“sph”开头的id,可在视频号助手获取
         */
        finderUserName: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenChannelsLiveCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenChannelsLiveFailCallback;
        /**
         * 直播 feedId,通过 getChannelsLiveInfo 接口获取(基础库 v2.19.2 之前的版本需要填写)
         */
        feedId?: string;
        /**
         * 直播 nonceId,通过 getChannelsLiveInfo 接口获取(基础库 v2.19.2 之前的版本需要填写)
         */
        nonceId?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenChannelsLiveSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenChannelsUserProfileCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenChannelsUserProfileFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenChannelsUserProfileSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface OpenChannelsUserProfileOption {
        /**
         * 视频号 id
         */
        finderUserName: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenChannelsUserProfileCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenChannelsUserProfileFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenChannelsUserProfileSuccessCallback;
    }
 
    /**
     * 客服信息
     */
    interface ExtInfoOption {
        /**
         * 客服链接
         */
        url: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenCustomerServiceChatCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenCustomerServiceChatFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenCustomerServiceChatSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface OpenCustomerServiceChatOption {
        /**
         * 企业ID
         */
        corpId: string;
        /**
         * 客服信息
         */
        extInfo: ExtInfoOption;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenCustomerServiceChatCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenCustomerServiceChatFailCallback;
        /**
         * 气泡消息图片
         */
        sendMessageImg?: string;
        /**
         * 气泡消息小程序路径
         */
        sendMessagePath?: string;
        /**
         * 气泡消息标题
         */
        sendMessageTitle?: string;
        /**
         * 是否发送小程序气泡消息
         */
        showMessageCard?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenCustomerServiceChatSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenEmbeddedMiniProgramCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenEmbeddedMiniProgramFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenEmbeddedMiniProgramSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface OpenEmbeddedMiniProgramOption {
        /**
         * 要打开的小程序 appId
         */
        appId: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenEmbeddedMiniProgramCompleteCallback;
        /**
         * 要打开的小程序版本。仅在当前小程序为开发版或体验版时此参数有效。如果当前小程序是正式版,则打开的小程序必定是正式版。
         *
         * 可选值:
         * - 'develop': 开发版;
         * - 'trial': 体验版;
         * - 'release': 正式版;
         */
        envVersion?: "develop" | "trial" | "release";
        /**
         * 需要传递给目标小程序的数据,目标小程序可在 `App.onLaunch`,`App.onShow` 中获取到这份数据。如果跳转的是小游戏,可以在 [uni.onShow](#)、[uni.getLaunchOptionsSync](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/life-cycle/wx.getLaunchOptionsSync.html) 中可以获取到这份数据数据。
         */
        extraData?: any;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenEmbeddedMiniProgramFailCallback;
        /**
         * 需要基础库: `2.24.0`
         *
         * 不reLaunch目标小程序,直接打开目标跳转的小程序退后台时的页面,需满足以下条件:1. 目标跳转的小程序生命周期未被销毁;2. 且目标当次启动的path、query、apiCategory与上次启动相同。
         */
        noRelaunchIfPathUnchanged?: boolean;
        /**
         * 打开的页面路径,如果为空则打开首页。path 中 ? 后面的部分会成为 query,在小程序的 `App.onLaunch`、`App.onShow` 和 `Page.onLoad` 的回调函数或小游戏的 [uni.onShow](#) 回调函数、[uni.getLaunchOptionsSync](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/life-cycle/wx.getLaunchOptionsSync.html) 中可以获取到 query 数据。对于小游戏,可以只传入 query 部分,来实现传参效果,如:传入 "?foo=bar"。
         */
        path?: string;
        /**
         * 小程序链接,当传递该参数后,可以不传 appId 和 path。链接可以通过【小程序菜单】->【复制链接】获取。仅 verify=binding 支持。
         */
        shortLink?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenEmbeddedMiniProgramSuccessCallback;
        /**
         * 需要基础库: `2.24.3`
         *
         * 校验方式。
         *
         * 可选值:
         * - 'binding': 校验小程序管理后台的绑定关系。;
         * - 'unionProduct': 校验目标打开链接是否为[小程序联盟](https://developers.weixin.qq.com/doc/ministore/union/brief-introduction.html)商品。;
         */
        verify?: "binding" | "unionProduct";
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type OpenSystemBluetoothSettingCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type OpenSystemBluetoothSettingFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type OpenSystemBluetoothSettingSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface OpenSystemBluetoothSettingOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: OpenSystemBluetoothSettingCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: OpenSystemBluetoothSettingFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: OpenSystemBluetoothSettingSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PauseBackgroundAudioCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PauseBackgroundAudioFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PauseBackgroundAudioSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface PauseBackgroundAudioOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PauseBackgroundAudioCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PauseBackgroundAudioFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PauseBackgroundAudioSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PauseVoiceCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PauseVoiceFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PauseVoiceSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PauseVoiceOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PauseVoiceCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PauseVoiceFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PauseVoiceSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PlayBackgroundAudioCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PlayBackgroundAudioFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PlayBackgroundAudioSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface PlayBackgroundAudioOption {
        /**
         * 音乐链接,目前支持的格式有 m4a, aac, mp3, wav
         */
        dataUrl: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PlayBackgroundAudioCompleteCallback;
        /**
         * 封面URL
         */
        coverImgUrl?: string;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PlayBackgroundAudioFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PlayBackgroundAudioSuccessCallback;
        /**
         * 音乐标题
         */
        title?: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PlayVoiceCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PlayVoiceFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PlayVoiceSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PlayVoiceOption {
        /**
         * 需要播放的语音文件的文件路径 (本地路径)
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PlayVoiceCompleteCallback;
        /**
         * 需要基础库: `1.6.0`
         *
         * 指定播放时长,到达指定的播放时长后会自动停止播放,单位:秒
         */
        duration?: number;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PlayVoiceFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PlayVoiceSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PluginLoginCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PluginLoginFailCallback = (res: GeneralCallbackResult) => void;
 
    interface PluginLoginSuccessCallbackResult {
        /**
         * 用于换取 openpid 的凭证(有效期五分钟)。插件开发者可以用此 code 在开发者服务器后台调用 [auth.getPluginOpenPId](#) 换取 openpid。
         */
        code: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type PluginLoginSuccessCallback = (
                result: PluginLoginSuccessCallbackResult
            ) => void;
 
    interface PluginLoginOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PluginLoginCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PluginLoginFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PluginLoginSuccessCallback;
    }
 
    interface Asset {
        src: string;
        /**
         * 可选值:
         * - 'font': 字体;
         * - 'image': 图片;
         */
        type: "image" | "font";
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PreloadAssetsCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PreloadAssetsFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PreloadAssetsSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PreloadAssetsOption {
        data: Asset[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PreloadAssetsCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PreloadAssetsFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PreloadAssetsSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PreloadSkylineViewCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PreloadSkylineViewFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PreloadSkylineViewSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface PreloadSkylineViewOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PreloadSkylineViewCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PreloadSkylineViewFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PreloadSkylineViewSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PreloadWebviewCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PreloadWebviewFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PreloadWebviewSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PreloadWebviewOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PreloadWebviewCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PreloadWebviewFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: PreloadWebviewSuccessCallback;
    }
 
    /**
     * 需要预览的资源列表
     */
    interface MediaSource {
        /**
         * 图片或视频的地址
         */
        url: string;
        /**
         * 视频的封面图片
         */
        poster?: string;
        /**
         * 资源的类型,默认为图片
         *
         * 可选值:
         * - 'image': 图片;
         * - 'video': 视频;
         */
        type?: "video" | "image";
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type PreviewMediaCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type PreviewMediaFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type PreviewMediaSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface PreviewMediaOption {
        /**
         * 需要预览的资源列表
         */
        sources: MediaSource[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: PreviewMediaCompleteCallback;
        /**
         * 当前显示的资源序号
         */
        current?: number;
        /**
         * 接口调用失败的回调函数
         */
        fail?: PreviewMediaFailCallback;
        /**
         * 需要基础库: `2.13.0`
         *
         * `origin`: 发送完整的referrer; `no-referrer`: 不发送。格式固定为 `https://servicewechat.com/{appid}/{version}/page-frame.html`,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
         */
        referrerPolicy?: string;
        /**
         * 需要基础库: `2.13.0`
         *
         * 是否显示长按菜单。
         */
        showmenu?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: PreviewMediaSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RequestOrderPaymentCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type RequestOrderPaymentFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RequestOrderPaymentSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface RequestOrderPaymentOption {
        /**
         * 随机字符串,长度为32个字符以下
         */
        nonceStr: string;
        /**
         * 统一下单接口返回的 prepay_id 参数值,提交格式如:prepay_id=***
         */
        package: string;
        /**
         * 签名,具体见微信支付文档
         */
        paySign: string;
        /**
         * 时间戳,从 1970 年 1 月 1 日 00:00:00 至今的秒数,即当前的时间
         */
        timeStamp: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RequestOrderPaymentCompleteCallback;
        /**
         * 外部APP用户ID
         */
        extUserUin?: string;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RequestOrderPaymentFailCallback;
        /**
         * 订单信息,仅在需要校验的场景下需要传递,具体见[接口说明](https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/API/order/requestOrderPayment)
         */
        orderInfo?: any;
        /**
         * 签名算法,应与后台下单时的值一致
         *
         * 可选值:
         * - 'MD5': 仅在 v2 版本接口适用;
         * - 'HMAC-SHA256': 仅在 v2 版本接口适用;
         * - 'RSA': 仅在 v3 版本接口适用;
         */
        signType?: "MD5" | "HMAC-SHA256" | "RSA";
        /**
         * 接口调用成功的回调函数
         */
        success?: RequestOrderPaymentSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RequestPluginPaymentCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type RequestPluginPaymentFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type RequestPluginPaymentSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface RequestPluginPaymentOption {
        /**
         * 需要显示在页面中的金额,单位为分
         */
        fee: number;
        /**
         * 任意数据,传递给功能页中的响应函数
         */
        paymentArgs: any;
        /**
         * 插件版本
         *
         * 可选值:
         * - 'develop': 开发版;
         * - 'trial': 体验版;
         * - 'release': 正式版;
         */
        version: "develop" | "trial" | "release";
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RequestPluginPaymentCompleteCallback;
        /**
         * 需要显示在页面中的货币符号的代码
         */
        currencyType?: string;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RequestPluginPaymentFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RequestPluginPaymentSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RequestSubscribeDeviceMessageCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface RequestSubscribeDeviceMessageFailCallbackResult {
        /**
         * 接口调用失败错误码,有可能为空
         */
        errCode: number;
        /**
         * 接口调用失败错误信息
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type RequestSubscribeDeviceMessageFailCallback = (
                result: RequestSubscribeDeviceMessageFailCallbackResult
            ) => void;
 
    interface RequestSubscribeDeviceMessageSuccessCallbackResult {
        /**
         * 接口调用成功时errMsg值为'requestSubscribeDeviceMessage:ok'
         */
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type RequestSubscribeDeviceMessageSuccessCallback = (
                result: RequestSubscribeDeviceMessageSuccessCallbackResult
            ) => void;
 
    interface RequestSubscribeDeviceMessageOption {
        /**
         * 设备型号 id 。通过微信公众平台注册设备获得。
         */
        modelId: string;
        /**
         * 设备唯一序列号。由厂商分配,长度不能超过128字节。字符只接受数字,大小写字母,下划线(_)和连字符(-)。
         */
        sn: string;
        /**
         * 设备票据,5分钟内有效。
         */
        snTicket: string;
        /**
         * 需要订阅的消息模板的 id 的集合,一次调用最多可订阅3条消息
         */
        tmplIds: any[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RequestSubscribeDeviceMessageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RequestSubscribeDeviceMessageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RequestSubscribeDeviceMessageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type RequestSubscribeMessageCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface RequestSubscribeMessageFailCallbackResult {
        /**
         * 接口调用失败错误码
         */
        errCode: number;
        /**
         * 接口调用失败错误信息
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type RequestSubscribeMessageFailCallback = (
                result: RequestSubscribeMessageFailCallbackResult
            ) => void;
 
    interface RequestSubscribeMessageSuccessCallbackResult {
        /**
         * 接口调用成功时errMsg值为'requestSubscribeMessage:ok'
         */
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type RequestSubscribeMessageSuccessCallback = (
                result: RequestSubscribeMessageSuccessCallbackResult
            ) => void;
 
    interface RequestSubscribeMessageOption {
        /**
         * 需要订阅的消息模板的id的集合,一次调用最多可订阅3条消息(注意:iOS客户端7.0.6版本、Android客户端7.0.7版本之后的一次性订阅/长期订阅才支持多个模板消息,iOS客户端7.0.5版本、Android客户端7.0.6版本之前的一次订阅只支持一个模板消息)消息模板id在[微信公众平台(mp.weixin.qq.com)-功能-订阅消息]中配置。每个tmplId对应的模板标题需要不相同,否则会被过滤。
         */
        tmplIds: any[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: RequestSubscribeMessageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: RequestSubscribeMessageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: RequestSubscribeMessageSuccessCallback;
    }
 
    interface ReserveChannelsLiveOption {
        /**
         * 预告 id,通过 getChannelsLiveNoticeInfo 接口获取
         */
        noticeId: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SaveFileToDiskCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SaveFileToDiskFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SaveFileToDiskSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface SaveFileToDiskOption {
        /**
         * 待保存文件路径
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SaveFileToDiskCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SaveFileToDiskFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SaveFileToDiskSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SeekBackgroundAudioCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SeekBackgroundAudioFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SeekBackgroundAudioSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface SeekBackgroundAudioOption {
        /**
         * 音乐位置,单位:秒
         */
        position: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SeekBackgroundAudioCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SeekBackgroundAudioFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SeekBackgroundAudioSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SendHCEMessageCompleteCallback = (res: NFCError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SendHCEMessageFailCallback = (res: NFCError) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SendHCEMessageSuccessCallback = (res: NFCError) => void;
 
    interface SendHCEMessageOption {
        /**
         * 二进制数据
         */
        data: ArrayBuffer;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SendHCEMessageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SendHCEMessageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SendHCEMessageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SendSmsCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SendSmsFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SendSmsSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface SendSmsOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SendSmsCompleteCallback;
        /**
         * 预填到发送短信面板的内容
         */
        content?: string;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SendSmsFailCallback;
        /**
         * 预填到发送短信面板的手机号
         */
        phoneNumber?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: SendSmsSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetBackgroundFetchTokenCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetBackgroundFetchTokenFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetBackgroundFetchTokenSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface SetBackgroundFetchTokenOption {
        /**
         * 自定义的登录态
         */
        token: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetBackgroundFetchTokenCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetBackgroundFetchTokenFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetBackgroundFetchTokenSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetEnable1v1ChatCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetEnable1v1ChatFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetEnable1v1ChatSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface SetEnable1v1ChatOption {
        /**
         * 是否开启
         */
        enable: boolean;
        /**
         * 窗口背景色(音频通话背景以及小窗模式背景)
         *
         * 可选值:
         * - 0: #262930;
         * - 1: #FA5151;
         * - 2: #FA9D3B;
         * - 3: #3D7257;
         * - 4: #1485EE;
         * - 5: #6467F0;
         */
        backgroundType?: 0 | 1 | 2 | 3 | 4 | 5;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetEnable1v1ChatCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetEnable1v1ChatFailCallback;
        /**
         * 小窗样式
         */
        minWindowType?: number;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetEnable1v1ChatSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetInnerAudioOptionCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetInnerAudioOptionFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetInnerAudioOptionSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface SetInnerAudioOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetInnerAudioOptionCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetInnerAudioOptionFailCallback;
        /**
         * 是否与其他音频混播,设置为 true 之后,不会终止其他应用或微信内的音乐
         */
        mixWithOther?: boolean;
        /**
         * (仅在 iOS 生效)是否遵循静音开关,设置为 false 之后,即使是在静音模式下,也能播放声音
         */
        obeyMuteSwitch?: boolean;
        /**
         * true 代表用扬声器播放,false 代表听筒播放,默认值为 true。
         */
        speakerOn?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetInnerAudioOptionSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetTopBarTextCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetTopBarTextFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetTopBarTextSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface SetTopBarTextOption {
        /**
         * 置顶栏文字
         */
        text: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetTopBarTextCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetTopBarTextFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetTopBarTextSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetVisualEffectOnCaptureCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetVisualEffectOnCaptureFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetVisualEffectOnCaptureSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface SetVisualEffectOnCaptureOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetVisualEffectOnCaptureCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetVisualEffectOnCaptureFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetVisualEffectOnCaptureSuccessCallback;
        /**
         * 截屏/录屏时的表现,仅支持 none / hidden,传入 hidden 则表示在截屏/录屏时隐藏屏幕
         */
        visualEffect?: string;
    }
 
    /**
     * 提供预设的 Wi-Fi 信息列表
     */
    interface WifiData {
        /**
         * Wi-Fi 的 BSSID
         */
        BSSID?: string;
        /**
         * Wi-Fi 的 SSID
         */
        SSID?: string;
        /**
         * Wi-Fi 设备密码
         */
        password?: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetWifiListCompleteCallback = (res: WifiError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetWifiListFailCallback = (res: WifiError) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetWifiListSuccessCallback = (res: WifiError) => void;
 
    interface SetWifiListOption {
        /**
         * 提供预设的 Wi-Fi 信息列表
         */
        wifiList: WifiData[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetWifiListCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetWifiListFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetWifiListSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SetWindowSizeCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SetWindowSizeFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SetWindowSizeSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface SetWindowSizeOption {
        /**
         * 窗口高度,以像素为单位
         */
        height: number;
        /**
         * 窗口宽度,以像素为单位
         */
        width: number;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SetWindowSizeCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SetWindowSizeFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SetWindowSizeSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ShareFileMessageCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ShareFileMessageFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ShareFileMessageSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ShareFileMessageOption {
        /**
         * 要分享的文件地址,必须为本地路径或临时路径
         */
        filePath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ShareFileMessageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ShareFileMessageFailCallback;
        /**
         * 自定义文件名,若留空则使用filePath中的文件名
         */
        fileName?: string;
        /**
         * 接口调用成功的回调函数
         */
        success?: ShareFileMessageSuccessCallback;
    }
 
    /**
     * 运动数据列表
     */
    interface WxaSportRecord {
        /**
         * 消耗卡路里
         */
        calorie: number;
        /**
         * 运动距离
         */
        distance: number;
        /**
         * 运动时长
         */
        time: number;
        /**
         * 运动项目id
         */
        typeId: number;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ShareToWeRunCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ShareToWeRunFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ShareToWeRunSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ShareToWeRunOption {
        /**
         * 运动数据列表
         */
        recordList: WxaSportRecord[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ShareToWeRunCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ShareToWeRunFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ShareToWeRunSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ShareVideoMessageCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ShareVideoMessageFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ShareVideoMessageSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ShareVideoMessageOption {
        /**
         * 要分享的视频地址,必须为本地路径或临时路径
         */
        videoPath: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ShareVideoMessageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ShareVideoMessageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ShareVideoMessageSuccessCallback;
        /**
         * 缩略图路径,若留空则使用视频首帧
         */
        thumbPath?: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ShowRedPackageCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ShowRedPackageFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ShowRedPackageSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface ShowRedPackageOption {
        /**
         * 封面地址
         */
        url: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ShowRedPackageCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ShowRedPackageFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ShowRedPackageSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type ShowShareImageMenuCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type ShowShareImageMenuFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type ShowShareImageMenuSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface ShowShareImageMenuOption {
        /**
         * 要分享的图片地址,必须为本地路径或临时路径
         */
        path: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: ShowShareImageMenuCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: ShowShareImageMenuFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: ShowShareImageMenuSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StartDeviceMotionListeningCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StartDeviceMotionListeningFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StartDeviceMotionListeningSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StartDeviceMotionListeningOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartDeviceMotionListeningCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartDeviceMotionListeningFailCallback;
        /**
         * 监听设备方向的变化回调函数的执行频率
         *
         * 可选值:
         * - 'game': 适用于更新游戏的回调频率,在 20ms/次 左右;
         * - 'ui': 适用于更新 UI 的回调频率,在 60ms/次 左右;
         * - 'normal': 普通的回调频率,在 200ms/次 左右;
         */
        interval?: "game" | "ui" | "normal";
        /**
         * 接口调用成功的回调函数
         */
        success?: StartDeviceMotionListeningSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StartHCECompleteCallback = (res: NFCError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StartHCEFailCallback = (res: NFCError) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StartHCESuccessCallback = (res: NFCError) => void;
 
    interface StartHCEOption {
        /**
         * 需要注册到系统的 AID 列表
         */
        aid_list: string[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartHCECompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartHCEFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StartHCESuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StartLocalServiceDiscoveryCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StartLocalServiceDiscoveryFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'invalid param': serviceType 为空;
         * - 'scan task already exist': 在当前 startLocalServiceDiscovery 发起的搜索未停止的情况下,再次调用 startLocalServiceDiscovery;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type StartLocalServiceDiscoveryFailCallback = (
                result: StartLocalServiceDiscoveryFailCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StartLocalServiceDiscoverySuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StartLocalServiceDiscoveryOption {
        /**
         * 要搜索的服务类型
         */
        serviceType: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartLocalServiceDiscoveryCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartLocalServiceDiscoveryFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StartLocalServiceDiscoverySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StartLocationUpdateBackgroundCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StartLocationUpdateBackgroundFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StartLocationUpdateBackgroundSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StartLocationUpdateBackgroundOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartLocationUpdateBackgroundCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartLocationUpdateBackgroundFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StartLocationUpdateBackgroundSuccessCallback;
        /**
         * wgs84 返回 gps 坐标,gcj02 返回可用于 wx.openLocation 的坐标
         */
        type?: string;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StartRecordCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StartRecordFailCallback = (res: GeneralCallbackResult) => void;
 
    interface StartRecordSuccessCallbackResult {
        /**
         * 录音文件的临时路径 (本地路径)
         */
        tempFilePath: string;
        errMsg: string;
    }
 
    /**
     * 接口调用成功的回调函数
     */
    type WxStartRecordSuccessCallback = (
                result: StartRecordSuccessCallbackResult
            ) => void;
 
    interface WxStartRecordOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartRecordCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartRecordFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: WxStartRecordSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopBackgroundAudioCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopBackgroundAudioFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopBackgroundAudioSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StopBackgroundAudioOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopBackgroundAudioCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopBackgroundAudioFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopBackgroundAudioSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopDeviceMotionListeningCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopDeviceMotionListeningFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopDeviceMotionListeningSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StopDeviceMotionListeningOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopDeviceMotionListeningCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopDeviceMotionListeningFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopDeviceMotionListeningSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopFaceDetectCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopFaceDetectFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopFaceDetectSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface StopFaceDetectOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopFaceDetectCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopFaceDetectFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopFaceDetectSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopHCECompleteCallback = (res: NFCError) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopHCEFailCallback = (res: NFCError) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopHCESuccessCallback = (res: NFCError) => void;
 
    interface StopHCEOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopHCECompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopHCEFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopHCESuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopLocalServiceDiscoveryCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StopLocalServiceDiscoveryFailCallbackResult {
        /**
         * 错误信息
         *
         * 可选值:
         * - 'task not found': 在当前没有处在搜索服务中的情况下调用 stopLocalServiceDiscovery;
         */
        errMsg: string;
    }
 
    /**
     * 接口调用失败的回调函数
     */
    type StopLocalServiceDiscoveryFailCallback = (
                result: StopLocalServiceDiscoveryFailCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopLocalServiceDiscoverySuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface StopLocalServiceDiscoveryOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopLocalServiceDiscoveryCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopLocalServiceDiscoveryFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopLocalServiceDiscoverySuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopRecordCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopRecordFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type WxStopRecordSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface WxStopRecordOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopRecordCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopRecordFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: WxStopRecordSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type StopVoiceCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type StopVoiceFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type StopVoiceSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface StopVoiceOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StopVoiceCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StopVoiceFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StopVoiceSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type SubscribeVoIPVideoMembersCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type SubscribeVoIPVideoMembersFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type SubscribeVoIPVideoMembersSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface SubscribeVoIPVideoMembersOption {
        /**
         * 订阅的成员列表
         */
        openIdList: string[];
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: SubscribeVoIPVideoMembersCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: SubscribeVoIPVideoMembersFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: SubscribeVoIPVideoMembersSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type UpdateShareMenuCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type UpdateShareMenuFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type UpdateShareMenuSuccessCallback = (res: GeneralCallbackResult) => void;
 
    /**
     * 参数列表
     */
    interface UpdatableMessageFrontEndParameter {
        /**
         * 参数名
         */
        name: string;
        /**
         * 参数值
         */
        value: string;
    }
 
    /**
     * 需要基础库: `2.4.0`
     *
     * 动态消息的模板信息
     */
    interface UpdatableMessageFrontEndTemplateInfo {
        /**
         * 参数列表
         */
        parameterList: UpdatableMessageFrontEndParameter[];
    }
 
    interface UpdateShareMenuOption {
        /**
         * 需要基础库: `2.4.0`
         *
         * 动态消息的 activityId。通过 [updatableMessage.createActivityId](#) 接口获取
         */
        activityId?: string;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: UpdateShareMenuCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: UpdateShareMenuFailCallback;
        /**
         * 需要基础库: `2.13.0`
         *
         * 是否是私密消息。详见 [小程序私密消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/private-message.html)
         */
        isPrivateMessage?: boolean;
        /**
         * 需要基础库: `2.4.0`
         *
         * 是否是动态消息,详见[动态消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/updatable-message.html)
         */
        isUpdatableMessage?: boolean;
        /**
         * 接口调用成功的回调函数
         */
        success?: UpdateShareMenuSuccessCallback;
        /**
         * 需要基础库: `2.4.0`
         *
         * 动态消息的模板信息
         */
        templateInfo?: UpdatableMessageFrontEndTemplateInfo;
        /**
         * 需要基础库: `2.11.0`
         *
         * 群待办消息的id,通过toDoActivityId可以把多个群待办消息聚合为同一个。通过 [updatableMessage.createActivityId](#) 接口获取。详见[群待办消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html)
         */
        toDoActivityId?: string;
        /**
         * 是否使用带 shareTicket 的转发[详情](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html)
         */
        withShareTicket?: boolean;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type UpdateVoIPChatMuteConfigCompleteCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用失败的回调函数
     */
    type UpdateVoIPChatMuteConfigFailCallback = (
                res: GeneralCallbackResult
            ) => void;
    /**
     * 接口调用成功的回调函数
     */
    type UpdateVoIPChatMuteConfigSuccessCallback = (
                res: GeneralCallbackResult
            ) => void;
 
    interface UpdateVoIPChatMuteConfigOption {
        /**
         * 静音设置
         */
        muteConfig: MuteConfig;
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: UpdateVoIPChatMuteConfigCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: UpdateVoIPChatMuteConfigFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: UpdateVoIPChatMuteConfigSuccessCallback;
    }
 
    /**
     * 接口调用结束的回调函数(调用成功、失败都会执行)
     */
    type UpdateWeChatAppCompleteCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用失败的回调函数
     */
    type UpdateWeChatAppFailCallback = (res: GeneralCallbackResult) => void;
    /**
     * 接口调用成功的回调函数
     */
    type UpdateWeChatAppSuccessCallback = (res: GeneralCallbackResult) => void;
 
    interface UpdateWeChatAppOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: UpdateWeChatAppCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: UpdateWeChatAppFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: UpdateWeChatAppSuccessCallback;
    }
}
 
interface Uni {
    /**
     *
     * 需要基础库: `2.25.0`
     *
     * 在插件中使用:不支持
     *
     * 从本地缓存中同步批量获取指定 key 的内容。
     *
     *
     * ****
     *
     * 对于多个key的读取, 批量读取在性能上优于多次getStorageSync读取
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchGetStorageSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchGetStorageSync.html)
     */
    batchGetStorageSync(keyList: string[]): any[];
    /**
     *
     * 需要基础库: `2.2.2`
     *
     * 在插件中使用:需要基础库 `2.2.2`
     *
     * 获取当前帐号信息。线上小程序版本号仅支持在正式版小程序中获取,开发版和体验版中无法获取。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/account-info/wx.getAccountInfoSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/account-info/wx.getAccountInfoSync.html)
     */
    getAccountInfoSync(): UniNamespace.AccountInfo;
    /**
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * [uni.getBatteryInfo](https://developers.weixin.qq.com/miniprogram/dev/api/device/battery/wx.getBatteryInfo.html) 的同步版本
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/battery/wx.getBatteryInfoSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/battery/wx.getBatteryInfoSync.html)
     */
    getBatteryInfoSync(): UniNamespace.GetBatteryInfoSyncResult;
    /**
     *
     * 需要基础库: `2.17.0`
     *
     * 在插件中使用:不支持
     *
     * 给定实验参数数组,获取对应的实验参数值
     *
     * **提示**
     *
     * 假设实验参数有 `color`, `size`
     * 调用 wx.getExptInfoSync() 会返回 `{color:'#fff',size:20}` 类似的结果
     * 而 wx.getExptInfoSync(['color']) 则只会返回 `{color:'#fff'}`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.getExptInfoSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.getExptInfoSync.html)
     */
    getExptInfoSync(keys?: string[]): any;
    /**
     *
     * 需要基础库: `2.26.2`
     *
     * 在插件中使用:需要基础库 `2.26.2`
     *
     * 获取当前运行环境对于 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的支持情况
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSkylineInfoSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSkylineInfoSync.html)
     */
    getSkylineInfoSync(): UniNamespace.SkylineInfo;
    /**
     *
     * 需要基础库: `2.26.3`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 获取 Webview 小程序的 UserAgent
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getRendererUserAgent.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getRendererUserAgent.html)
     */
    getRendererUserAgent(): Promise<string>;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createAudioContext.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createAudioContext.html)
     */
    createAudioContext(id: string, component?: any): UniNamespace.AudioContext;
    /**
     *
     * 需要基础库: `2.24.0`
     *
     * 在插件中使用:不支持
     *
     * 创建缓存管理器
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/cachemanager/wx.createCacheManager.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/cachemanager/wx.createCacheManager.html)
     */
    createCacheManager(option: UniNamespace.CreateCacheManagerOption): UniNamespace.CacheManager;
    /**
     *
     * 需要基础库: `1.9.9`
     *
     * 在插件中使用:需要基础库 `2.19.2`
     *
     * 获取全局唯一的文件管理器
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.getFileSystemManager.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.getFileSystemManager.html)
     */
    getFileSystemManager(): UniNamespace.FileSystemManager;
    /**
     *
     * 需要基础库: `1.7.0`
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 创建 [live-player](https://developers.weixin.qq.com/miniprogram/dev/component/live-player.html) 上下文 [LivePlayerContext](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.html) 对象。建议使用 [uni.createSelectorQuery](https://developers.weixin.qq.com/miniprogram/dev/api/wxml/wx.createSelectorQuery.html) 获取 context 对象。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/live/wx.createLivePlayerContext.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/wx.createLivePlayerContext.html)
     */
    createLivePlayerContext(id: string, component?: any): UniNamespace.LivePlayerContext;
    /**
     *
     * 需要基础库: `2.1.0`
     *
     * 在插件中使用:不支持
     *
     * 获取日志管理器对象。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.getLogManager.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.getLogManager.html)
     */
    getLogManager(option: UniNamespace.GetLogManagerOption): UniNamespace.LogManager;
    /**
     *
     * 需要基础库: `2.13.0`
     *
     * 在插件中使用:支持
     *
     * 创建媒体音频播放器对象 [MediaAudioPlayer](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/MediaAudioPlayer.html) 对象,可用于播放视频解码器 [VideoDecoder](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/VideoDecoder.html) 输出的音频。
     *
     *
     * **完整demo(小游戏)**
     *
     * - https://developers.weixin.qq.com/s/SF2duHmb7MjI
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createMediaAudioPlayer.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createMediaAudioPlayer.html)
     */
    createMediaAudioPlayer(): UniNamespace.MediaAudioPlayer;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.10.0`
     *
     * 创建音视频处理容器,最终可将容器中的轨道合成一个视频
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/wx.createMediaContainer.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-processing/wx.createMediaContainer.html)
     */
    createMediaContainer(): UniNamespace.MediaContainer;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:需要基础库 `2.11.0`
     *
     * 创建 WebGL 画面录制器,可逐帧录制在 WebGL 上渲染的画面并导出视频文件
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/wx.createMediaRecorder.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/wx.createMediaRecorder.html)
     */
    createMediaRecorder(canvas: any, options: UniNamespace.CreateMediaRecorderOption): UniNamespace.MediaRecorder;
    /**
     *
     * 需要基础库: `2.11.2`
     *
     * 在插件中使用:需要基础库 `2.11.2`
     *
     * 获取 NFC 实例
     *
     * **示例代码**
     *
     * [在微信开发者工具中查看示例](https://developers.weixin.qq.com/s/1WsbDwmb75ig)
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc/wx.getNFCAdapter.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc/wx.getNFCAdapter.html)
     */
    getNFCAdapter(): UniNamespace.NFCAdapter;
    /**
     *
     * 需要基础库: `2.16.1`
     *
     * 在插件中使用:需要基础库 `2.16.1`
     *
     * 创建离屏 canvas 实例
     *
     * **离屏 Canvas 类型不可混用**
     *
     * 由于 webgl canvas 和 2d canvas 的底层实现方式不同,因此必须要在调用 `wx.createOffscreenCanvas` 时提前指定类型。
     *
     * 指定类型后,离屏 canvas `getContext(type)` 调用不允许混用,如不能对 webgl canvas 调用 `getContext('2d')`。
     *
     * 同样的,不同类型 canvas 调用 `createImage` 创建的图片对象也不支持混用,使用时请注意尽量使用 canvas 自身的 `createImage` 创建图片对象。
     *
     * **与 MediaRecorder 结合**
     *
     * 离屏 webgl canvas 支持作为参数传递给 [`wx.createMediaRecorder`](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/wx.createMediaRecorder.html), 离屏 2d canvas 暂不支持。
     *
     * **旧版 createOffscreenCanvas**
     *
     * 旧版函数签名为 `wx.createOffscreenCanvas(width: number, height: number, this: object): OffscreenCanvas`,从基础库 2.7.0 开始支持
     *
     * 从基础库 2.16.1 开始改为 `wx.createOffscreenCanvas(options: object): OffscreenCanvas`,向下兼容旧版入参。
     * 但需注意旧版入参只能创建 webgl 类型,如需创建 2d 类型则必须使用新版。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.createOffscreenCanvas.html](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.createOffscreenCanvas.html)
     */
    createOffscreenCanvas(width: number, height: number, component?: any): UniNamespace.OffscreenCanvas;
    /**
     *
     * 需要基础库: `2.16.1`
     *
     * 在插件中使用:需要基础库 `2.16.1`
     *
     * 创建离屏 canvas 实例
     *
     * **离屏 Canvas 类型不可混用**
     *
     * 由于 webgl canvas 和 2d canvas 的底层实现方式不同,因此必须要在调用 `wx.createOffscreenCanvas` 时提前指定类型。
     *
     * 指定类型后,离屏 canvas `getContext(type)` 调用不允许混用,如不能对 webgl canvas 调用 `getContext('2d')`。
     *
     * 同样的,不同类型 canvas 调用 `createImage` 创建的图片对象也不支持混用,使用时请注意尽量使用 canvas 自身的 `createImage` 创建图片对象。
     *
     * **与 MediaRecorder 结合**
     *
     * 离屏 webgl canvas 支持作为参数传递给 [`wx.createMediaRecorder`](https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/wx.createMediaRecorder.html), 离屏 2d canvas 暂不支持。
     *
     * **旧版 createOffscreenCanvas**
     *
     * 旧版函数签名为 `wx.createOffscreenCanvas(width: number, height: number, this: object): OffscreenCanvas`,从基础库 2.7.0 开始支持
     *
     * 从基础库 2.16.1 开始改为 `wx.createOffscreenCanvas(options: object): OffscreenCanvas`,向下兼容旧版入参。
     * 但需注意旧版入参只能创建 webgl 类型,如需创建 2d 类型则必须使用新版。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.createOffscreenCanvas.html](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.createOffscreenCanvas.html)
     */
    createOffscreenCanvas(option: UniNamespace.CreateOffscreenCanvasOption): UniNamespace.OffscreenCanvas;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:支持
     *
     * 获取当前小程序性能相关的信息。关于小程序启动性能优化的更多内容,请参考[启动性能指南](https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips/start.html)。
     *
     * ****
     *
     * 目前支持获取以下几类性能指标,具体内容请参考 [PerformanceEntry](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/PerformanceEntry.html):
     *
     * | 指标类型(entryType) | 指标名称          | 最低版本 |
     * | ------------------- | ---------------- | ------ |
     * | 路由(navigation)   | route: 路由性能 | |
     * | 路由(navigation)   | appLaunch: 小程序启动耗时 | |
     * | 渲染(render)       | firstRender: 页面首次渲染耗时 | |
     * | 渲染(render)       | firstPaint: 页面首次绘制 | <2.21.2> |
     * | 渲染(render)       | firstContentfulPaint: 页面首次内容绘制 |  <2.21.2> |
     * | 渲染(render)       | largestContentfulPaint: 页面最大内容绘制 | <2.23.1> |
     * | 脚本(script)       | evaluateScript: 注入脚本耗时  | |
     * | 包加载(loadPackage)| downloadPackage: 代码包下载耗时  | <2.24.0> |
     * | 资源(resource)     | resourceTiming: 视图层资源加载耗时  | <2.24.0> |
     *
     *
     * **注意**
     *
     * - 目前,当开启代码 [按需注入](https://developers.weixin.qq.com/miniprogram/dev/framework/ability/lazyload.html) 时,`evaluateScript` 将仅包含公有部分代码(2.21.2 开始会区分公共部分/页面和组件的部分),页面和组件的代码注入的时间会包含在 `firstRender` 中(因为页面和组件的代码注入过程成为了首次渲染过程的一部分)。因此开启按需注入后,脚本耗时降低,渲染时间提高属于正常现象,优化效果可以关注整体启动耗时(`appLaunch`)来评估。
     * - firstPaint 和 firstContentfulPaint 指标在开启 vConsole 的情况下,由于绘制 vConsole 面板,会导致数据提前。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.getPerformance.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.getPerformance.html)
     */
    getPerformance(): UniNamespace.Performance;
    /**
     *
     * 需要基础库: `2.27.3`
     *
     * 在插件中使用:不支持
     *
     * 触发分包预下载。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/subpackage/wx.preDownloadSubpackage.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/subpackage/wx.preDownloadSubpackage.html)
     */
    preDownloadSubpackage(option: UniNamespace.PreDownloadSubpackageOption): UniNamespace.PreDownloadSubpackageTask;
    /**
     *
     * 需要基础库: `2.7.1`
     *
     * 在插件中使用:需要基础库 `2.16.0`
     *
     * 获取实时日志管理器对象。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.getRealtimeLogManager.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.getRealtimeLogManager.html)
     */
    getRealtimeLogManager(): UniNamespace.RealtimeLogManager;
    /**
     *
     * 需要基础库: `2.18.0`
     *
     * 在插件中使用:支持
     *
     * 创建一个 TCP Socket 实例。使用前请注意阅读[相关说明](https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html)。
     *
     * **连接限制**
     *
     * - 允许与局域网内的非本机 IP 通信
     * - 允许与配置过的服务器域名通信,详见[相关说明](https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html)
     * - 禁止与以下端口号连接:`1024 以下` `1099` `1433` `1521` `1719` `1720` `1723` `2049` `2375` `3128` `3306` `3389` `3659` `4045` `5060` `5061` `5432` `5984` `6379` `6000` `6566` `7001` `7002` `8000-8100` `8443` `8888` `9200` `9300` `10051` `10080` `11211` `27017` `27018` `27019`
     * - 每 5 分钟内最多创建 20 个 TCPSocket
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/wx.createTCPSocket.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/tcp/wx.createTCPSocket.html)
     */
    createTCPSocket(): UniNamespace.TCPSocket;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.11.1`
     *
     * 创建一个 UDP Socket 实例。使用前请注意阅读[相关说明](https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html)。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/wx.createUDPSocket.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/udp/wx.createUDPSocket.html)
     */
    createUDPSocket(): UniNamespace.UDPSocket;
    /**
     *
     * 需要基础库: `2.17.3`
     *
     * 在插件中使用:不支持
     *
     * 获取用户加密模块
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/crypto/wx.getUserCryptoManager.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/crypto/wx.getUserCryptoManager.html)
     */
    getUserCryptoManager(): UniNamespace.UserCryptoManager;
    /**
     *
     * 需要基础库: `2.20.0`
     *
     * 在插件中使用:需要基础库 `2.20.0`
     *
     * 创建 vision kit 会话对象。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ai/visionkit/wx.createVKSession.html](https://developers.weixin.qq.com/miniprogram/dev/api/ai/visionkit/wx.createVKSession.html)
     */
    createVKSession(option: UniNamespace.VKConfig): UniNamespace.VKSession;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:需要基础库 `2.11.0`
     *
     * 创建视频解码器,可逐帧获取解码后的数据
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/wx.createVideoDecoder.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video-decoder/wx.createVideoDecoder.html)
     */
    createVideoDecoder(): UniNamespace.VideoDecoder;
    /**
     *
     * 需要基础库: `2.19.0`
     *
     * 在插件中使用:不支持
     *
     * 创建 WebAudio 上下文。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createWebAudioContext.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.createWebAudioContext.html)
     */
    createWebAudioContext(): UniNamespace.WebAudioContext;
    /**
     *
     * 需要基础库: `1.9.90`
     *
     * 在插件中使用:需要基础库 `2.18.1`
     *
     * 创建一个 Worker 线程
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/worker/wx.createWorker.html](https://developers.weixin.qq.com/miniprogram/dev/api/worker/wx.createWorker.html)
     */
    createWorker(scriptPath: string, options?: UniNamespace.CreateWorkerOption): UniNamespace.Worker;
    /**
     *
     * 需要基础库: `2.22.0`
     *
     * 在插件中使用:需要基础库 `2.22.0`
     *
     * 判断支持版本
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ai/visionkit/wx.isVKSupport.html](https://developers.weixin.qq.com/miniprogram/dev/api/ai/visionkit/wx.isVKSupport.html)
     */
    isVKSupport(version: "v1" | "v2"): boolean;
    /**
     *
     * 需要基础库: `2.14.0`
     *
     * 在插件中使用:不支持
     *
     * 根据传入的 buffer 创建一个唯一的 URL 存在内存中
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.createBufferURL.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.createBufferURL.html)
     */
    createBufferURL(buffer: ArrayBuffer | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array): string;
    /**
     *
     * 需要基础库: `1.1.0`
     *
     * 在插件中使用:不支持
     *
     * 批量添加卡券。只有通过 [认证](https://developers.weixin.qq.com/miniprogram/product/renzheng.html) 的小程序或文化互动类目的小游戏才能使用。更多文档请参考 [微信卡券接口文档](https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1490190158&version=1&lang=zh_CN&platform=2)。
     *
     * **cardExt 说明**
     *
     * cardExt 是卡券的扩展参数,其值是一个 JSON 字符串。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/card/wx.addCard.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/card/wx.addCard.html)
     */
    addCard(option: UniNamespace.AddCardOption): void;
    /**
     *
     * 需要基础库: `2.16.1`
     *
     * 在插件中使用:不支持
     *
     * 收藏文件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/favorites/wx.addFileToFavorites.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/favorites/wx.addFileToFavorites.html)
     */
    addFileToFavorites(option: UniNamespace.AddFileToFavoritesOption): void;
    /**
     *
     * 需要基础库: `2.15.0`
     *
     * 在插件中使用:不支持
     *
     * 向系统日历添加事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/calendar/wx.addPhoneCalendar.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/calendar/wx.addPhoneCalendar.html)
     */
    addPhoneCalendar(option: UniNamespace.AddPhoneCalendarOption): void;
    /**
     *
     * 需要基础库: `2.15.0`
     *
     * 在插件中使用:不支持
     *
     * 向系统日历添加重复事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/calendar/wx.addPhoneRepeatCalendar.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/calendar/wx.addPhoneRepeatCalendar.html)
     */
    addPhoneRepeatCalendar(option: UniNamespace.AddPhoneRepeatCalendarOption): void;
    /**
     *
     * 需要基础库: `2.16.1`
     *
     * 在插件中使用:不支持
     *
     * 收藏视频
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/favorites/wx.addVideoToFavorites.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/favorites/wx.addVideoToFavorites.html)
     */
    addVideoToFavorites(option: UniNamespace.AddVideoToFavoritesOption): void;
    /**
     *
     * 需要基础库: `2.13.0`
     *
     * 在插件中使用:不支持
     *
     * 验证私密消息。用法详情见 [小程序私密消息使用指南](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/private-message.html)
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.authPrivateMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.authPrivateMessage.html)
     */
    authPrivateMessage(option?: UniNamespace.AuthPrivateMessageOption): void;
    /**
     *
     * 需要基础库: `2.14.4`
     *
     * 在插件中使用:需要基础库 `2.14.4`
     *
     * **仅小程序插件中能调用该接口**,用法同 [uni.authorize](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/authorize/wx.authorize.html)。目前仅支持三种 scope(见下)
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/authorize/wx.authorizeForMiniProgram.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/authorize/wx.authorizeForMiniProgram.html)
     */
    authorizeForMiniProgram(option: UniNamespace.AuthorizeForMiniProgramOption): void;
    /**
     *
     * 需要基础库: `2.25.0`
     *
     * 在插件中使用:不支持
     *
     * 从本地缓存中异步批量获取指定 key 的内容。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchGetStorage.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchGetStorage.html)
     */
    batchGetStorage(option: UniNamespace.BatchGetStorageOption): void;
    /**
     *
     * 需要基础库: `2.25.0`
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 将数据批量存储在本地缓存中指定的 key 中。会覆盖掉原来该 key 对应的内容。除非用户主动删除或因存储空间原因被系统清理,否则数据都一直可用。单个 key 允许存储的最大数据长度为 1MB,所有数据存储上限为 10MB。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchSetStorage.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchSetStorage.html)
     */
    batchSetStorage(option: UniNamespace.BatchSetStorageOption): void;
    /**
     *
     * 需要基础库: `2.25.0`
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 将数据批量存储在本地缓存中指定的 key 中。会覆盖掉原来该 key 对应的内容。除非用户主动删除或因存储空间原因被系统清理,否则数据都一直可用。单个 key 允许存储的最大数据长度为 1MB,所有数据存储上限为 10MB。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchSetStorageSync.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.batchSetStorageSync.html)
     */
    batchSetStorageSync(kvList: UniNamespace.KvList[]): void;
    /**
     *
     * 需要基础库: `2.13.0`
     *
     * 在插件中使用:不支持
     *
     * 检测是否开启视觉无障碍功能。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/accessibility/wx.checkIsOpenAccessibility.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/accessibility/wx.checkIsOpenAccessibility.html)
     */
    checkIsOpenAccessibility(option?: UniNamespace.CheckIsOpenAccessibilityOption): void;
    /**
     *
     * 需要基础库: `2.8.0`
     *
     * 在插件中使用:不支持
     *
     * 拉起手机通讯录,选择联系人。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/contact/wx.chooseContact.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/contact/wx.chooseContact.html)
     */
    chooseContact(option?: UniNamespace.ChooseContactOption): void;
    /**
     *
     * 需要基础库: `2.3.0`
     *
     * 在插件中使用:需要基础库 `2.16.1`
     *
     * 选择用户已有的发票。
     *
     * **通过 cardId 和 encryptCode 获得报销发票的信息**
     *
     * 请参考[微信电子发票文档](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=21517918939oae3U)中,「查询报销发票信息」部分。
     * 其中 `access_token` 的获取请参考[auth.getAccessToken](#)文档
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/invoice/wx.chooseInvoice.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/invoice/wx.chooseInvoice.html)
     */
    chooseInvoice(option?: UniNamespace.ChooseInvoiceOption): void;
    /**
     *
     * 需要基础库: `2.19.0`
     *
     * 在插件中使用:不支持
     *
     * 选择车牌号
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/license-plate/wx.chooseLicensePlate.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/license-plate/wx.chooseLicensePlate.html)
     */
    chooseLicensePlate(option?: UniNamespace.ChooseLicensePlateOption): void;
    /**
     *
     * 需要基础库: `2.10.0`
     *
     * 在插件中使用:需要基础库 `2.11.1`
     *
     * 拍摄或从手机相册中选择图片或视频。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.chooseMedia.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.chooseMedia.html)
     */
    chooseMedia(option: UniNamespace.ChooseMediaOption): void;
    /**
     *
     * 需要基础库: `2.5.0`
     *
     * 在插件中使用:不支持
     *
     * 从客户端会话选择文件。
     *
     * ****
     *
     * ```js
     * wx.chooseMessageFile({
     * count: 10,
     * type: 'image',
     * success (res) {
     * // tempFilePath可以作为img标签的src属性显示图片
     * const tempFilePaths = res.tempFiles
     * }
     * })
     * ```
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.chooseMessageFile.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.chooseMessageFile.html)
     */
    chooseMessageFile(option: UniNamespace.ChooseMessageFileOption): void;
    /**
     *
     * 在插件中使用:不支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.choosePoi.html](https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.choosePoi.html)
     */
    choosePoi(option: UniNamespace.ChoosePoiOption): void;
    /**
     *
     * 需要基础库: `2.10.3`
     *
     * 在插件中使用:需要基础库 `2.22.1`
     *
     * 建立本地作为蓝牙低功耗外围设备的服务端,可创建多个。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.createBLEPeripheralServer.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.createBLEPeripheralServer.html)
     */
    createBLEPeripheralServer(option?: UniNamespace.CreateBLEPeripheralServerOption): void;
    /**
     *
     * 需要基础库: `2.26.0`
     *
     * 在插件中使用:不支持
     *
     * 裁剪图片接口
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.cropImage.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.cropImage.html)
     */
    cropImage(option: UniNamespace.CropImageOption): void;
    /**
     *
     * 需要基础库: `2.12.0`
     *
     * 在插件中使用:不支持
     *
     * 关闭小程序页面返回询问对话框。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.disableAlertBeforeUnload.html](https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.disableAlertBeforeUnload.html)
     */
    disableAlertBeforeUnload(option?: UniNamespace.DisableAlertBeforeUnloadOption): void;
    /**
     *
     * 需要基础库: `2.22.0`
     *
     * 在插件中使用:不支持
     *
     * 编辑图片接口
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.editImage.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.editImage.html)
     */
    editImage(option: UniNamespace.EditImageOption): void;
    /**
     *
     * 需要基础库: `2.12.0`
     *
     * 在插件中使用:不支持
     *
     * 开启小程序页面返回询问对话框。
     *
     * ## 弹窗条件
     * * 当用户在小程序内非首页页面/最底层页
     * * 官方导航栏上的的返回
     * * 全屏模式下自绘返回键
     * * android 系统 back 键时
     *
     * ## 注意事项
     * * 手势滑动返回时不做拦截
     * * 在任何场景下,此功能都不应拦住用户退出小程序的行为
     *
     * **示例代码**
     *
     * [在微信开发者工具中查看示例](https://developers.weixin.qq.com/s/MTPm9Cmh7VfT)
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.enableAlertBeforeUnload.html](https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.enableAlertBeforeUnload.html)
     */
    enableAlertBeforeUnload(option: UniNamespace.EnableAlertBeforeUnloadOption): void;
    /**
     *
     * 需要基础库: `2.17.3`
     *
     * 在插件中使用:不支持
     *
     * 退出当前小程序。必须有点击行为才能调用成功。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.exitMiniProgram.html](https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.exitMiniProgram.html)
     */
    exitMiniProgram(option?: UniNamespace.ExitMiniProgramOption): void;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.0`
     *
     * 退出(销毁)实时语音通话
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.exitVoIPChat.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.exitVoIPChat.html)
     */
    exitVoIPChat(option?: UniNamespace.ExitVoIPChatOption): void;
    /**
     *
     * 需要基础库: `2.18.0`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ai/face/wx.faceDetect.html](https://developers.weixin.qq.com/miniprogram/dev/api/ai/face/wx.faceDetect.html)
     */
    faceDetect(option: UniNamespace.FaceDetectOption): void;
    /**
     *
     * 需要基础库: `2.1.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 获取当前支持的音频输入源
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.getAvailableAudioSources.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.getAvailableAudioSources.html)
     */
    getAvailableAudioSources(option?: UniNamespace.GetAvailableAudioSourcesOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.20.1`
     *
     * 获取蓝牙低功耗的最大传输单元。需在 [uni.createBLEConnection](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.createBLEConnection.html) 调用成功后调用。
     *
     * **注意**
     *
     * - 小程序中 MTU 为 ATT_MTU,包含 Op-Code 和 Attribute Handle 的长度,实际可以传输的数据长度为 `ATT_MTU - 3`
     * - iOS 系统中 MTU 为固定值;安卓系统中,MTU 会在系统协商成功之后发生改变,建议使用 [uni.onBLEMTUChange](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.onBLEMTUChange.html) 监听。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.getBLEMTU.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.getBLEMTU.html)
     */
    getBLEMTU(option: UniNamespace.GetBLEMTUOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.getBackgroundAudioPlayerState.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.getBackgroundAudioPlayerState.html)
     */
    getBackgroundAudioPlayerState(option?: UniNamespace.GetBackgroundAudioPlayerStateOption): void;
    /**
     *
     * 需要基础库: `2.8.0`
     *
     * 在插件中使用:不支持
     *
     * 拉取 backgroundFetch 客户端缓存数据。
     * 当调用接口时,若当次请求未结束,会先返回本地的旧数据(之前打开小程序时请求的),如果本地没有旧数据会返回失败,而不会等待请求完成。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.getBackgroundFetchData.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.getBackgroundFetchData.html)
     */
    getBackgroundFetchData(option: UniNamespace.GetBackgroundFetchDataOption): void;
    /**
     *
     * 需要基础库: `2.8.0`
     *
     * 在插件中使用:不支持
     *
     * 获取设置过的自定义登录态。若无,则返回 fail。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.getBackgroundFetchToken.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.getBackgroundFetchToken.html)
     */
    getBackgroundFetchToken(option?: UniNamespace.GetBackgroundFetchTokenOption): void;
    /**
     *
     * 需要基础库: `2.15.0`
     *
     * 在插件中使用:不支持
     *
     * 获取视频号直播信息
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.getChannelsLiveInfo.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.getChannelsLiveInfo.html)
     */
    getChannelsLiveInfo(option: UniNamespace.GetChannelsLiveInfoOption): void;
    /**
     *
     * 需要基础库: `2.19.0`
     *
     * 在插件中使用:不支持
     *
     * 获取视频号直播预告信息
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.getChannelsLiveNoticeInfo.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.getChannelsLiveNoticeInfo.html)
     */
    getChannelsLiveNoticeInfo(option: UniNamespace.GetChannelsLiveNoticeInfoOption): void;
    /**
     *
     * 需要基础库: `2.22.1`
     *
     * 在插件中使用:不支持
     *
     * 获取视频号直播卡片/视频卡片的分享来源,仅当卡片携带了分享信息、同时用户已授权该小程序获取视频号分享信息且启动场景值为 1177、1184、1195、1208 时可用。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.getChannelsShareKey.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.getChannelsShareKey.html)
     */
    getChannelsShareKey(option?: UniNamespace.GetChannelsShareKeyOption): void;
    /**
     *
     * 需要基础库: `2.25.0`
     *
     * 在插件中使用:支持
     *
     * 获取当前的模糊地理位置。
     * ## 使用方法
     * 自 2022 年 7 月 14 日后发布的小程序,若使用该接口,需要在 app.json 中进行声明,否则将无法正常使用该接口,2022年7月14日前发布的小程序不受影响。[具体规则见公告](https://developers.weixin.qq.com/community/develop/doc/000a02f2c5026891650e7f40351c01)
     * ## 申请开通
     * 暂只针对具备与地理位置强相关的使用场景的小程序开放,在小程序管理后台,「开发」-「开发管理」-「接口设置」中自助开通该接口权限。 从2022年7月14日开始在代码审核环节将检测该接口是否已完成开通,如未开通,将在代码提审环节进行拦截。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getFuzzyLocation.html](https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getFuzzyLocation.html)
     */
    getFuzzyLocation(option: UniNamespace.GetFuzzyLocationOption): void;
    /**
     *
     * 需要基础库: `2.10.4`
     *
     * 在插件中使用:不支持
     *
     * 获取微信群聊场景下的小程序启动信息。群聊场景包括群聊小程序消息卡片、群待办、群工具。可用于获取当前群的 opengid。
     * ## 注意事项
     * - 基础库 v2.10.4 开始支持获取群工具小程序启动信息
     * - 基础库 v2.17.3 开始支持获取群聊小程序消息卡片、群待办小程序启动信息
     *
     *
     * **Tips**
     *
     * - 如需要展示群名称,小程序可以使用[开放数据组件](https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html)
     * - 小游戏可以通过 `wx.getGroupInfo` 接口获取群名称
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/group/wx.getGroupEnterInfo.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/group/wx.getGroupEnterInfo.html)
     */
    getGroupEnterInfo(option: UniNamespace.GetGroupEnterInfoOption): void;
    /**
     *
     * 需要基础库: `1.7.0`
     *
     * 在插件中使用:需要基础库 `2.1.0`
     *
     * 判断当前设备是否支持 HCE 能力。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.getHCEState.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.getHCEState.html)
     */
    getHCEState(option?: UniNamespace.GetHCEStateOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 获取局域网IP地址
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.getLocalIPAddress.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.getLocalIPAddress.html)
     */
    getLocalIPAddress(option: UniNamespace.GetLocalIPAddressOption): void;
    /**
     *
     * 需要基础库: `2.15.0`
     *
     * 在插件中使用:不支持
     *
     * 获取密码学安全随机数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/crypto/wx.getRandomValues.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/crypto/wx.getRandomValues.html)
     */
    getRandomValues(option: UniNamespace.GetRandomValuesOption): void;
    /**
     *
     * 需要基础库: `2.24.0`
     *
     * 在插件中使用:不支持
     *
     * 查询用户是否在录屏。
     *
     * **示例代码**
     *
     * ```js
     * wx.getScreenRecordingState({
     *  success: function (res) {
     *    console.log(res.state)
     *  },
     * })
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.getScreenRecordingState.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.getScreenRecordingState.html)
     */
    getScreenRecordingState(option?: UniNamespace.GetScreenRecordingStateOption): void;
    /**
     *
     * 需要基础库: `1.1.0`
     *
     * 在插件中使用:需要基础库 `2.1.0`
     *
     * 在插件中使用时,只能在当前插件的页面中调用
     *
     * 获取转发详细信息
     *
     *
     * **Tips**
     *
     * - 如需要展示群名称,小程序可以使用 [开放数据组件](https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html)
     * - 小游戏可以通过 [`wx.getGroupInfo`](#) 接口获取群名称
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.getShareInfo.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.getShareInfo.html)
     */
    getShareInfo(option: UniNamespace.GetShareInfoOption): void;
    /**
     *
     * 需要基础库: `2.26.2`
     *
     * 在插件中使用:需要基础库 `2.26.2`
     *
     * 获取当前运行环境对于 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的支持情况
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSkylineInfo.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSkylineInfo.html)
     */
    getSkylineInfo(option?: UniNamespace.GetSkylineInfoOption): void;
    /**
     *
     * 需要基础库: `2.14.1`
     *
     * 在插件中使用:不支持
     *
     * 异步获取系统信息。需要一定的微信客户端版本支持,在不支持的客户端上,会使用同步实现来返回。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoAsync.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoAsync.html)
     */
    getSystemInfoAsync(option?: UniNamespace.GetSystemInfoAsyncOption): void;
    /**
     *
     * 需要基础库: `1.2.0`
     *
     * 在插件中使用:不支持
     *
     * 获取用户过去三十天微信运动步数。需要先调用 [uni.login](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html) 接口。步数信息会在用户主动进入小程序时更新。
     *
     *
     * stepInfoList 中,每一项结构如下:
     *
     * | 属性 | 类型 | 说明 |
     * | --- | ---- | --- |
     * | timestamp | number | 时间戳,表示数据对应的时间 |
     * | step | number | 微信运动步数 |
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/werun/wx.getWeRunData.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/werun/wx.getWeRunData.html)
     */
    getWeRunData(option?: UniNamespace.GetWeRunDataOption): void;
    /**
     *
     * 需要基础库: `2.18.0`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ai/face/wx.initFaceDetect.html](https://developers.weixin.qq.com/miniprogram/dev/api/ai/face/wx.initFaceDetect.html)
     */
    initFaceDetect(option?: UniNamespace.InitFaceDetectOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.19.1`
     *
     * 查询蓝牙设备是否配对,仅安卓支持。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.isBluetoothDevicePaired.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.isBluetoothDevicePaired.html)
     */
    isBluetoothDevicePaired(option: UniNamespace.IsBluetoothDevicePairedOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:不支持
     *
     * 加入(创建)双人通话。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.join1v1Chat.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.join1v1Chat.html)
     */
    join1v1Chat(option: UniNamespace.Join1v1ChatOption): void;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.0`
     *
     * 加入 (创建) 实时语音通话,更多信息可见 [实时语音指南](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/voip-chat.html)。调用前需要用户授权 `scope.record`,若房间类型为视频房间需要用户授权 `scope.camera`。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.joinVoIPChat.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.joinVoIPChat.html)
     */
    joinVoIPChat(option: UniNamespace.JoinVoIPChatOption): void;
    /**
     *
     * 需要基础库: `2.12.0`
     *
     * 在插件中使用:需要基础库 `2.12.0`
     *
     * 蓝牙配对接口,仅安卓支持。
     *
     * 通常情况下(需要指定 `pin` 码或者密码时)系统会接管配对流程,直接调用 [uni.createBLEConnection](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.createBLEConnection.html) 即可。该接口只应当在开发者不想让用户手动输入 `pin` 码且真机验证确认可以正常生效情况下用。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.makeBluetoothPair.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.makeBluetoothPair.html)
     */
    makeBluetoothPair(option: UniNamespace.MakeBluetoothPairOption): void;
    /**
     *
     * 需要基础库: `2.1.2`
     *
     * 在插件中使用:不支持
     *
     * 移除小程序切后台事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAppHide.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAppHide.html)
     */
    offAppHide(listener?: UniNamespace.OffAppHideCallback): void;
    /**
     *
     * 需要基础库: `2.1.2`
     *
     * 在插件中使用:不支持
     *
     * 移除小程序切前台事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAppShow.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAppShow.html)
     */
    offAppShow(listener?: UniNamespace.OffAppShowCallback): void;
    /**
     *
     * 需要基础库: `2.6.2`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 移除音频因为受到系统占用而被中断开始事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAudioInterruptionBegin.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAudioInterruptionBegin.html)
     */
    offAudioInterruptionBegin(listener?: UniNamespace.OffAudioInterruptionBeginCallback): void;
    /**
     *
     * 需要基础库: `2.6.2`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 移除音频中断结束事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAudioInterruptionEnd.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAudioInterruptionEnd.html)
     */
    offAudioInterruptionEnd(listener?: UniNamespace.OffAudioInterruptionEndCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除蓝牙低功耗设备的特征值变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.offBLECharacteristicValueChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.offBLECharacteristicValueChange.html)
     */
    offBLECharacteristicValueChange(listener?: UniNamespace.OffBLECharacteristicValueChangeCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除蓝牙低功耗连接状态改变事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.offBLEConnectionStateChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.offBLEConnectionStateChange.html)
     */
    offBLEConnectionStateChange(listener?: UniNamespace.OffBLEConnectionStateChangeCallback): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.20.1`
     *
     * 移除蓝牙低功耗的最大传输单元变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.offBLEMTUChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.offBLEMTUChange.html)
     */
    offBLEMTUChange(listener?: UniNamespace.OffBLEMTUChangeCallback): void;
    /**
     *
     * 需要基础库: `2.10.3`
     *
     * 在插件中使用:需要基础库 `2.22.1`
     *
     * 移除当前外围设备被连接或断开连接事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.offBLEPeripheralConnectionStateChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.offBLEPeripheralConnectionStateChanged.html)
     */
    offBLEPeripheralConnectionStateChanged(listener?: UniNamespace.OffBLEPeripheralConnectionStateChangedCallback): void;
    /**
     *
     * 需要基础库: `2.8.1`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除 Beacon 服务状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/ibeacon/wx.offBeaconServiceChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/ibeacon/wx.offBeaconServiceChange.html)
     */
    offBeaconServiceChange(listener?: UniNamespace.OffBeaconServiceChangeCallback): void;
    /**
     *
     * 需要基础库: `2.8.1`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除 Beacon 设备更新事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/ibeacon/wx.offBeaconUpdate.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/ibeacon/wx.offBeaconUpdate.html)
     */
    offBeaconUpdate(listener?: UniNamespace.OffBeaconUpdateCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除蓝牙适配器状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.offBluetoothAdapterStateChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.offBluetoothAdapterStateChange.html)
     */
    offBluetoothAdapterStateChange(listener?: UniNamespace.OffBluetoothAdapterStateChangeCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除搜索到新设备的事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.offBluetoothDeviceFound.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.offBluetoothDeviceFound.html)
     */
    offBluetoothDeviceFound(listener?: UniNamespace.OffBluetoothDeviceFoundCallback): void;
    /**
     *
     * 需要基础库: `2.14.3`
     *
     * 在插件中使用:不支持
     *
     * 移除用户点击右上角菜单的「复制链接」按钮时触发的事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.offCopyUrl.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.offCopyUrl.html)
     */
    offCopyUrl(listener?: UniNamespace.OffCopyUrlCallback): void;
    /**
     *
     * 需要基础库: `2.9.3`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除设备方向变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.offDeviceMotionChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.offDeviceMotionChange.html)
     */
    offDeviceMotionChange(listener?: UniNamespace.OffDeviceMotionChangeCallback): void;
    /**
     *
     * 需要基础库: `2.8.1`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除接收 NFC 设备消息事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.offHCEMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.offHCEMessage.html)
     */
    offHCEMessage(listener?: UniNamespace.OffHCEMessageCallback): void;
    /**
     *
     * 需要基础库: `2.24.3`
     *
     * 在插件中使用:不支持
     *
     * 移除小程序异步组件加载失败事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offLazyLoadError.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offLazyLoadError.html)
     */
    offLazyLoadError(listener?: UniNamespace.OffLazyLoadErrorCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 移除 mDNS 服务停止搜索的事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceDiscoveryStop.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceDiscoveryStop.html)
     */
    offLocalServiceDiscoveryStop(listener?: UniNamespace.OffLocalServiceDiscoveryStopCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 移除 mDNS 服务发现的事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceFound.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceFound.html)
     */
    offLocalServiceFound(listener?: UniNamespace.OffLocalServiceFoundCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 移除 mDNS 服务离开的事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceLost.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceLost.html)
     */
    offLocalServiceLost(listener?: UniNamespace.OffLocalServiceLostCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 移除 mDNS 服务解析失败的事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceResolveFail.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.offLocalServiceResolveFail.html)
     */
    offLocalServiceResolveFail(listener?: UniNamespace.OffLocalServiceResolveFailCallback): void;
    /**
     *
     * 需要基础库: `2.21.0`
     *
     * 在插件中使用:不支持
     *
     * 移除弱网状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.offNetworkWeakChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.offNetworkWeakChange.html)
     */
    offNetworkWeakChange(listener?: UniNamespace.OffNetworkWeakChangeCallback): void;
    /**
     *
     * 需要基础库: `2.1.2`
     *
     * 在插件中使用:不支持
     *
     * 移除小程序要打开的页面不存在事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offPageNotFound.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offPageNotFound.html)
     */
    offPageNotFound(listener?: UniNamespace.OffPageNotFoundCallback): void;
    /**
     *
     * 需要基础库: `2.24.0`
     *
     * 在插件中使用:不支持
     *
     * 移除用户录屏事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.offScreenRecordingStateChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.offScreenRecordingStateChanged.html)
     */
    offScreenRecordingStateChanged(listener?: UniNamespace.OffScreenRecordingStateChangedCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除被动断开实时语音通话事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatInterrupted.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatInterrupted.html)
     */
    offVoIPChatInterrupted(listener?: UniNamespace.OffVoIPChatInterruptedCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除实时语音通话成员在线状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatMembersChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatMembersChanged.html)
     */
    offVoIPChatMembersChanged(listener?: UniNamespace.OffVoIPChatMembersChangedCallback): void;
    /**
     *
     * 需要基础库: `2.9.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 移除实时语音通话成员通话状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatSpeakersChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatSpeakersChanged.html)
     */
    offVoIPChatSpeakersChanged(listener?: UniNamespace.OffVoIPChatSpeakersChangedCallback): void;
    /**
     *
     * 需要基础库: `2.16.0`
     *
     * 在插件中使用:不支持
     *
     * 移除房间状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatStateChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPChatStateChanged.html)
     */
    offVoIPChatStateChanged(listener?: UniNamespace.OffVoIPChatStateChangedCallback): void;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:不支持
     *
     * 移除实时语音通话成员视频状态变化事件的监听函数
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPVideoMembersChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.offVoIPVideoMembersChanged.html)
     */
    offVoIPVideoMembersChanged(listener?: UniNamespace.OffVoIPVideoMembersChangedCallback): void;
    /**
     *
     * 需要基础库: `2.1.2`
     *
     * 在插件中使用:不支持
     *
     * 监听小程序切后台事件。该事件与 [`App.onHide`](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onhide) 的回调时机一致。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAppHide.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAppHide.html)
     */
    onAppHide(listener: UniNamespace.OnAppHideCallback): void;
    /**
     *
     * 需要基础库: `2.1.2`
     *
     * 在插件中使用:不支持
     *
     * 监听小程序切前台事件。该事件与 [`App.onShow`](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onshowobject-object) 的回调参数一致。
     *
     * **返回有效 referrerInfo 的场景**
     *
     * | 场景值 | 场景                            | appId含义  |
     * | ------ | ------------------------------- | ---------- |
     * | 1020   | 公众号 profile 页相关小程序列表 | 来源公众号 |
     * | 1035   | 公众号自定义菜单                | 来源公众号 |
     * | 1036   | App 分享消息卡片                | 来源App    |
     * | 1037   | 小程序打开小程序                | 来源小程序 |
     * | 1038   | 从另一个小程序返回              | 来源小程序 |
     * | 1043   | 公众号模板消息                  | 来源公众号 |
     *
     * **不同 apiCategory 场景下的 API 限制**
     *
     * `X` 表示 API 被限制无法使用;不在表格中的 API 不限制。
     *
     * |                                       | default | nativeFunctionalized | browseOnly | embedded |
     * |-|-|-|-|-|
     * |navigateToMiniProgram                  |         | `X`                  | `X`        |          |
     * |openSetting                            |         |                      | `X`        |          |
     * |&lt;button open-type="share"&gt;       |         | `X`                  | `X`        | `X`      |
     * |&lt;button open-type="feedback"&gt;    |         |                      | `X`        |          |
     * |&lt;button open-type="open-setting"&gt;|         |                      | `X`        |          |
     * |openEmbeddedMiniProgram                |         | `X`                  | `X`        | `X`      |
     *
     * **注意**
     *
     * 部分版本在无`referrerInfo`的时候会返回 `undefined`,建议使用 `options.referrerInfo && options.referrerInfo.appId` 进行判断。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAppShow.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAppShow.html)
     */
    onAppShow(listener: UniNamespace.OnAppShowCallback): void;
    /**
     *
     * 需要基础库: `2.6.2`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 监听音频因为受到系统占用而被中断开始事件。以下场景会触发此事件:闹钟、电话、FaceTime 通话、微信语音聊天、微信视频聊天、有声广告开始播放、实名认证页面弹出等。此事件触发后,小程序内所有音频会暂停。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAudioInterruptionBegin.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAudioInterruptionBegin.html)
     */
    onAudioInterruptionBegin(listener: UniNamespace.OnAudioInterruptionBeginCallback): void;
    /**
     *
     * 需要基础库: `2.6.2`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 监听音频中断结束事件。在收到 onAudioInterruptionBegin 事件之后,小程序内所有音频会暂停,收到此事件之后才可再次播放成功
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAudioInterruptionEnd.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAudioInterruptionEnd.html)
     */
    onAudioInterruptionEnd(listener: UniNamespace.OnAudioInterruptionEndCallback): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.20.1`
     *
     * 监听蓝牙低功耗的最大传输单元变化事件(仅安卓触发)。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.onBLEMTUChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.onBLEMTUChange.html)
     */
    onBLEMTUChange(listener: UniNamespace.OnBLEMTUChangeCallback): void;
    /**
     *
     * 需要基础库: `2.10.3`
     *
     * 在插件中使用:需要基础库 `2.22.1`
     *
     * 监听当前外围设备被连接或断开连接事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.onBLEPeripheralConnectionStateChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.onBLEPeripheralConnectionStateChanged.html)
     */
    onBLEPeripheralConnectionStateChanged(listener: UniNamespace.OnBLEPeripheralConnectionStateChangedCallback): void;
    /**
     *
     * 在插件中使用:不支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.onBackgroundAudioPause.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.onBackgroundAudioPause.html)
     */
    onBackgroundAudioPause(listener: UniNamespace.OnBackgroundAudioPauseCallback): void;
    /**
     *
     * 在插件中使用:不支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.onBackgroundAudioPlay.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.onBackgroundAudioPlay.html)
     */
    onBackgroundAudioPlay(listener: UniNamespace.OnBackgroundAudioPlayCallback): void;
    /**
     *
     * 在插件中使用:不支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.onBackgroundAudioStop.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.onBackgroundAudioStop.html)
     */
    onBackgroundAudioStop(listener: UniNamespace.OnBackgroundAudioStopCallback): void;
    /**
     *
     * 需要基础库: `2.8.0`
     *
     * 在插件中使用:不支持
     *
     * 监听收到 backgroundFetch 数据事件。如果监听时请求已经完成,则事件不会触发。建议和 [uni.getBackgroundFetchData](https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.getBackgroundFetchData.html) 配合使用
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.onBackgroundFetchData.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.onBackgroundFetchData.html)
     */
    onBackgroundFetchData(listener: UniNamespace.OnBackgroundFetchDataCallback): void;
    /**
     *
     * 需要基础库: `2.14.3`
     *
     * 在插件中使用:不支持
     *
     * 监听用户点击右上角菜单的「复制链接」按钮时触发的事件。本接口为 Beta 版本,暂只在 Android 平台支持。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.onCopyUrl.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.onCopyUrl.html)
     */
    onCopyUrl(listener: UniNamespace.OnCopyUrlCallback): void;
    /**
     *
     * 需要基础库: `2.3.0`
     *
     * 在插件中使用:不支持
     *
     * 监听设备方向变化事件。频率根据 [uni.startDeviceMotionListening()](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.startDeviceMotionListening.html) 的 interval 参数。可以使用 [uni.stopDeviceMotionListening()](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.stopDeviceMotionListening.html) 停止监听。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.onDeviceMotionChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.onDeviceMotionChange.html)
     */
    onDeviceMotionChange(listener: UniNamespace.OnDeviceMotionChangeCallback): void;
    /**
     *
     * 需要基础库: `1.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 监听接收 NFC 设备消息事件。仅能注册一个监听
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.onHCEMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.onHCEMessage.html)
     */
    onHCEMessage(listener: UniNamespace.OnHCEMessageCallback): void;
    /**
     *
     * 需要基础库: `2.24.3`
     *
     * 在插件中使用:不支持
     *
     * 监听小程序异步组件加载失败事件。
     *
     * **注意**
     *
     * - 加载异步组件通常需要下载分包,若分包下载超时,则会触发 errMsg 为 "loadSubpackage: timeout" 的回调,默认超时等待时间为 5 秒。
     * - 可以通过第二个参数指定超时时间(单位:ms),该设置全局有效,多次指定超时时间则覆盖前面。
     * - 分包确认下载失败时,会再次触发 errMsg 为 "loadSubpackage: fail" 的回调。
     * - 若在页面中使用该接口进行监听,请确保在必要时手动调用 offLazyLoadError 取消监听,以避免非预期的内存泄漏。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onLazyLoadError.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onLazyLoadError.html)
     */
    onLazyLoadError(listener: UniNamespace.OnLazyLoadErrorCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 监听 mDNS 服务停止搜索的事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceDiscoveryStop.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceDiscoveryStop.html)
     */
    onLocalServiceDiscoveryStop(listener: UniNamespace.OnLocalServiceDiscoveryStopCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 监听 mDNS 服务发现的事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceFound.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceFound.html)
     */
    onLocalServiceFound(listener: UniNamespace.OnLocalServiceFoundCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 监听 mDNS 服务离开的事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceLost.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceLost.html)
     */
    onLocalServiceLost(listener: UniNamespace.OnLocalServiceLostCallback): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 监听 mDNS 服务解析失败的事件
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceResolveFail.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.onLocalServiceResolveFail.html)
     */
    onLocalServiceResolveFail(listener: UniNamespace.OnLocalServiceResolveFailCallback): void;
    /**
     *
     * 需要基础库: `2.21.0`
     *
     * 在插件中使用:不支持
     *
     * 监听弱网状态变化事件
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.onNetworkWeakChange.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.onNetworkWeakChange.html)
     */
    onNetworkWeakChange(listener: UniNamespace.OnNetworkWeakChangeCallback): void;
    /**
     *
     * 需要基础库: `2.1.2`
     *
     * 在插件中使用:不支持
     *
     * 监听小程序要打开的页面不存在事件。该事件与 [`App.onPageNotFound`](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onpagenotfoundobject-object) 的回调时机一致。
     *
     * **注意**
     *
     * - 开发者可以在回调中进行页面重定向,但必须在回调中**同步**处理,异步处理(例如 `setTimeout` 异步执行)无效。
     * - 若开发者没有调用 [uni.onPageNotFound](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onPageNotFound.html) 绑定监听,也没有声明 `App.onPageNotFound`,当跳转页面不存在时,将推入微信客户端原生的页面不存在提示页面。
     * - 如果回调中又重定向到另一个不存在的页面,将推入微信客户端原生的页面不存在提示页面,并且不再第二次回调。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onPageNotFound.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onPageNotFound.html)
     */
    onPageNotFound(listener: UniNamespace.OnPageNotFoundCallback): void;
    /**
     *
     * 需要基础库: `2.24.0`
     *
     * 在插件中使用:不支持
     *
     * 监听用户录屏事件。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.onScreenRecordingStateChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.onScreenRecordingStateChanged.html)
     */
    onScreenRecordingStateChanged(listener: UniNamespace.OnScreenRecordingStateChangedCallback): void;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 监听被动断开实时语音通话事件。包括小游戏切入后端时断开
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatInterrupted.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatInterrupted.html)
     */
    onVoIPChatInterrupted(listener: UniNamespace.OnVoIPChatInterruptedCallback): void;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 监听实时语音通话成员在线状态变化事件。有成员加入/退出通话时触发回调
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatMembersChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatMembersChanged.html)
     */
    onVoIPChatMembersChanged(listener: UniNamespace.OnVoIPChatMembersChangedCallback): void;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 监听实时语音通话成员通话状态变化事件。有成员开始/停止说话时触发回调
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatSpeakersChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatSpeakersChanged.html)
     */
    onVoIPChatSpeakersChanged(listener: UniNamespace.OnVoIPChatSpeakersChangedCallback): void;
    /**
     *
     * 需要基础库: `2.16.0`
     *
     * 在插件中使用:不支持
     *
     * 监听房间状态变化事件。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatStateChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPChatStateChanged.html)
     */
    onVoIPChatStateChanged(listener: UniNamespace.OnVoIPChatStateChangedCallback): void;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:不支持
     *
     * 监听实时语音通话成员视频状态变化事件。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPVideoMembersChanged.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPVideoMembersChanged.html)
     */
    onVoIPVideoMembersChanged(listener: UniNamespace.OnVoIPVideoMembersChangedCallback): void;
    /**
     *
     * 需要基础库: `1.1.0`
     *
     * 在插件中使用:不支持
     *
     * 查看微信卡包中的卡券。只有通过 [认证](https://developers.weixin.qq.com/miniprogram/product/renzheng.html) 的小程序或文化互动类目的小游戏才能使用。更多文档请参考 [微信卡券接口文档](https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1490190158&version=1&lang=zh_CN&platform=2)。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/card/wx.openCard.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/card/wx.openCard.html)
     */
    openCard(option: UniNamespace.OpenCardOption): void;
    /**
     *
     * 需要基础库: `2.19.2`
     *
     * 在插件中使用:不支持
     *
     * 打开视频号视频
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsActivity.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsActivity.html)
     */
    openChannelsActivity(option: UniNamespace.OpenChannelsActivityOption): void;
    /**
     *
     * 需要基础库: `2.21.0`
     *
     * 在插件中使用:不支持
     *
     * 打开视频号活动页
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsEvent.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsEvent.html)
     */
    openChannelsEvent(option: UniNamespace.OpenChannelsEventOption): void;
    /**
     *
     * 需要基础库: `2.15.0`
     *
     * 在插件中使用:不支持
     *
     * 打开视频号直播
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsLive.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsLive.html)
     */
    openChannelsLive(option: UniNamespace.OpenChannelsLiveOption): void;
    /**
     *
     * 需要基础库: `2.21.2`
     *
     * 在插件中使用:不支持
     *
     * 打开视频号主页
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsUserProfile.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.openChannelsUserProfile.html)
     */
    openChannelsUserProfile(option: UniNamespace.OpenChannelsUserProfileOption): void;
    /**
     *
     * 需要基础库: `2.19.0`
     *
     * 在插件中使用:不支持
     *
     * 打开微信客服,页面产生点击事件(例如 button 上 bindtap 的回调中)后才可调用。了解更多信息,可以参考[微信客服介绍](https://work.weixin.qq.com/kf/)。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/service-chat/wx.openCustomerServiceChat.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/service-chat/wx.openCustomerServiceChat.html)
     */
    openCustomerServiceChat(option: UniNamespace.OpenCustomerServiceChatOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.26.2`
     *
     * 打开半屏小程序。接入指引请参考 [半屏小程序能力](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html)。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.openEmbeddedMiniProgram.html](https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.openEmbeddedMiniProgram.html)
     */
    openEmbeddedMiniProgram(option: UniNamespace.OpenEmbeddedMiniProgramOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 跳转系统蓝牙设置页。仅支持安卓。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.openSystemBluetoothSetting.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.openSystemBluetoothSetting.html)
     */
    openSystemBluetoothSetting(option?: UniNamespace.OpenSystemBluetoothSettingOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.pauseBackgroundAudio.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.pauseBackgroundAudio.html)
     */
    pauseBackgroundAudio(option?: UniNamespace.PauseBackgroundAudioOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.pauseVoice.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.pauseVoice.html)
     */
    pauseVoice(option?: UniNamespace.PauseVoiceOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.playBackgroundAudio.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.playBackgroundAudio.html)
     */
    playBackgroundAudio(option: UniNamespace.PlayBackgroundAudioOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.playVoice.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.playVoice.html)
     */
    playVoice(option: UniNamespace.PlayVoiceOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.20.1`
     *
     * __该接口仅在小程序插件中可调用__,调用接口获得插件用户标志凭证(code)。插件可以此凭证换取用于识别用户的标识 openpid。用户不同、宿主小程序不同或插件不同的情况下,该标识均不相同,即当且仅当同一个用户在同一个宿主小程序中使用同一个插件时,openpid 才会相同。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.pluginLogin.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.pluginLogin.html)
     */
    pluginLogin(args?: UniNamespace.PluginLoginOption): void;
    /**
     *
     * 需要基础库: `2.22.1`
     *
     * 在插件中使用:不支持
     *
     * 为视图层预加载媒体资源文件, 目前支持:font,image
     *
     *
     * ****
     *
     * - 开发过程中,可在开发者工具network面板查看预加载情况。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.preloadAssets.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.preloadAssets.html)
     */
    preloadAssets(option: UniNamespace.PreloadAssetsOption): void;
    /**
     *
     * 需要基础库: `2.24.7`
     *
     * 在插件中使用:需要基础库 `2.24.7`
     *
     * 预加载下个页面所需要的 [Skyline](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 运行环境。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.preloadSkylineView.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.preloadSkylineView.html)
     */
    preloadSkylineView(option?: UniNamespace.PreloadSkylineViewOption): void;
    /**
     *
     * 需要基础库: `2.15.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 预加载下个页面的 WebView。参见[预加载下个页面的时机](https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips/runtime_nav.html#_2-4-控制预加载下个页面的时机)
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.preloadWebview.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.preloadWebview.html)
     */
    preloadWebview(option?: UniNamespace.PreloadWebviewOption): void;
    /**
     *
     * 需要基础库: `2.12.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 预览图片和视频。
     *
     * **支持长按识别的码**
     *
     * | 类型 | 说明 | 最低版本 |
     * |------|------| -------|
     * | 小程序码 |    |
     * | 微信个人码 | 不支持小游戏   | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
     * | 企业微信个人码 | 不支持小游戏   | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
     * | 普通群码 | 指仅包含微信用户的群,不支持小游戏   | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
     * | 互通群码 |  指既有微信用户也有企业微信用户的群,不支持小游戏  | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
     * | 公众号二维码 | 不支持小游戏  | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.previewMedia.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.previewMedia.html)
     */
    previewMedia(option: UniNamespace.PreviewMediaOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 在插件中使用时,可以被正常调用,但目前不会进行统计展示
     *
     * 自定义分析数据上报接口。使用前,需要在小程序管理后台自定义分析中新建事件,配置好事件名与字段。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.reportAnalytics.html](https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.reportAnalytics.html)
     */
    reportAnalytics(eventName: string, data: any): void;
    /**
     *
     * 需要基础库: `2.14.4`
     *
     * 在插件中使用:不支持
     *
     * 事件上报
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.reportEvent.html](https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.reportEvent.html)
     */
    reportEvent(eventId: string, data?: any): void;
    /**
     *
     * 需要基础库: `2.0.1`
     *
     * 在插件中使用:不支持
     *
     * 自定义业务数据监控上报接口。
     *
     * **使用说明**
     *
     * 使用前,需要在「小程序管理后台-运维中心-性能监控-业务数据监控」中新建监控事件,配置监控描述与告警类型。每一个监控事件对应唯一的监控ID,开发者最多可以创建128个监控事件。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.reportMonitor.html](https://developers.weixin.qq.com/miniprogram/dev/api/data-analysis/wx.reportMonitor.html)
     */
    reportMonitor(name: string, value: number): void;
    /**
     *
     * 需要基础库: `2.9.2`
     *
     * 在插件中使用:需要基础库 `2.9.3`
     *
     * 小程序测速上报。使用前,需要在小程序管理后台配置。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.reportPerformance.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/performance/wx.reportPerformance.html)
     */
    reportPerformance(id: number, value: number, dimensions?: string | any[]): void;
    /**
     *
     * 需要基础库: `2.16.0`
     *
     * 在插件中使用:不支持
     *
     * 仅接入了[自定义版交易组件](https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/Introduction2)的小程序需要使用,普通小程序可直接使用 [`wx.requestPayment`](https://developers.weixin.qq.com/miniprogram/dev/api/payment/wx.requestPayment.html)。
     *
     * **前置检查**
     *
     * 接入自定义版交易组件之后,若要发起微信支付,请先查询[需要校验的场景](https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/API/order/check_scene)。
     * 在需要校验的场景中,发起微信支付时,必须使用该接口,需要按照要求传入相关的[订单信息](https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/API/order/add_order)进行校验,校验通过后用户才可以完成当前订单的支付,非需要校验的场景则可以按照商家要求自行选择传入订单信息或不传入。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/payment/wx.requestOrderPayment.html](https://developers.weixin.qq.com/miniprogram/dev/api/payment/wx.requestOrderPayment.html)
     */
    requestOrderPayment(args: UniNamespace.RequestOrderPaymentOption): void;
    /**
     *
     * 需要基础库: `2.22.1`
     *
     * 在插件中使用:需要基础库 `2.22.1`
     *
     * 插件中发起支付。
     *
     * **Tip**
     *
     * 1. `tip`: 小程序与插件绑定在同一个open平台账号上且小程序与插件均为open账号的同主体/关联主体时,调用此接口将直接拉起支付收银台。
     * 1. `tip`: 这个接口本身可以在开发者工具中使用,但功能页的跳转目前不支持在开发者工具中调试,请在真机上测试。
     * 1. `tip`: 跳转支付功能页需要在 `app.json` 中配置 `"functionalPages": true`
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/payment/wx.requestPluginPayment.html](https://developers.weixin.qq.com/miniprogram/dev/api/payment/wx.requestPluginPayment.html)
     */
    requestPluginPayment(option: UniNamespace.RequestPluginPaymentOption): void;
    /**
     *
     * 需要基础库: `2.20.0`
     *
     * 在插件中使用:不支持
     *
     * 订阅设备消息接口,调用后弹出授权框,用户同意后会允许开发者给用户发送订阅模版消息。当用户点击“允许”按钮时,模板消息会被添加到用户的小程序设置页,通过 wx.getSetting 接口可获取用户对相关模板消息的订阅状态。
     *
     * **错误码**
     *
     * | errCode | errMsg                                                 | 说明                                                           |
     * | ------- | ------------------------------------------------------ | -------------------------------------------------------------- |
     * | 10001   | TmplIds can't be empty                                 | tmplIds 为空                                                  |
     * | 10004   | Invalid template id                                    | tmplId 参数类型错误                                            |
     * | 20001   | No template data return, verify the template id exist  | tmplId 为空                                                  |
     * | 20003   | Templates count out of max bounds                      | tmplId 数量超过上限                                           |
     * | 19720726   | check sn_ticket fail                                | snTicket 不合法                                              |
     * | 19720727   | sn_ticket expire                                    | snTicket 过期                                               |
     * | 19720728   | err_not_found_tid                                    | tmplId 不存在                                              |
     * | 19720736   | template_id do not match model_id                   | modelId 类型与 tmplId 类型不符                               |
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/subscribe-message/wx.requestSubscribeDeviceMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/subscribe-message/wx.requestSubscribeDeviceMessage.html)
     */
    requestSubscribeDeviceMessage(option: UniNamespace.RequestSubscribeDeviceMessageOption): void;
    /**
     *
     * 需要基础库: `2.4.4`
     *
     * 在插件中使用:不支持
     *
     * 调起客户端小程序订阅消息界面,返回用户订阅消息的操作结果。当用户勾选了订阅面板中的“总是保持以上选择,不再询问”时,模板消息会被添加到用户的小程序设置页,通过 [uni.getSetting](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/setting/wx.getSetting.html) 接口可获取用户对相关模板消息的订阅状态。
     *
     * ## 注意事项
     * - 一次性模板 id 和永久模板 id 不可同时使用。
     * - 低版本基础库2.4.4~2.8.3 已支持订阅消息接口调用,仅支持传入一个一次性 tmplId / 永久 tmplId。
     * - [2.8.2](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) 版本开始,用户发生点击行为或者发起支付回调后,才可以调起订阅消息界面。
     * - [2.10.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) 版本开始,开发版和体验版小程序将禁止使用模板消息 formId。
     * - 一次授权调用里,每个tmplId对应的模板标题不能存在相同的,若出现相同的,只保留一个。
     * - [2.10.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) 版本开始,支持订阅语音消息提醒,[详情](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message.html)
     *
     * **错误码**
     *
     * | errCode | errMsg                                                 | 说明                                                           |
     * | ------- | ------------------------------------------------------ | -------------------------------------------------------------- |
     * | 10001   | TmplIds can't be empty                                 | 参数传空了                                                     |
     * | 10002   | Request list fail                                       | 网络问题,请求消息列表失败                                     |
     * | 10003   | Request subscribe fail                                 | 网络问题,订阅请求发送失败                                     |
     * | 10004   | Invalid template id                                    | 参数类型错误                                                   |
     * | 10005   | Cannot show subscribe message UI                       | 无法展示 UI,一般是小程序这个时候退后台了导致的                |
     * | 20001   | No template data return, verify the template id exist  | 没有模板数据,一般是模板 ID 不存在 或者和模板类型不对应 导致的 |
     * | 20002   | Templates type must be same                            | 模板消息类型 既有一次性的又有永久的                            |
     * | 20003   | Templates count out of max bounds                      | 模板消息数量超过上限                                           |
     * | 20004   | The main switch is switched off                        | 用户关闭了主开关,无法进行订阅                                 |
     * | 20005   | This mini program was banned from subscribing messages | 小程序被禁封                                                   |
     * | 20013   | Reject DeviceMsg Template                              | 不允许通过该接口订阅设备消息                                      |
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/subscribe-message/wx.requestSubscribeMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/subscribe-message/wx.requestSubscribeMessage.html)
     */
    requestSubscribeMessage(option: UniNamespace.RequestSubscribeMessageOption): void;
    /**
     *
     * 需要基础库: `2.19.0`
     *
     * 在插件中使用:不支持
     *
     * 预约视频号直播
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.reserveChannelsLive.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/channels/wx.reserveChannelsLive.html)
     */
    reserveChannelsLive(option: UniNamespace.ReserveChannelsLiveOption): void;
    /**
     *
     * 需要基础库: `2.14.0`
     *
     * 在插件中使用:不支持
     *
     * 根据 URL 销毁存在内存中的数据
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.revokeBufferURL.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.revokeBufferURL.html)
     */
    revokeBufferURL(url: string): void;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 保存文件系统的文件到用户磁盘,仅在 PC 端支持
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.saveFileToDisk.html](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.saveFileToDisk.html)
     */
    saveFileToDisk(option: UniNamespace.SaveFileToDiskOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.seekBackgroundAudio.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.seekBackgroundAudio.html)
     */
    seekBackgroundAudio(option: UniNamespace.SeekBackgroundAudioOption): void;
    /**
     *
     * 需要基础库: `1.7.0`
     *
     * 在插件中使用:需要基础库 `2.1.0`
     *
     * 发送 NFC 消息。仅在安卓系统下有效。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.sendHCEMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.sendHCEMessage.html)
     */
    sendHCEMessage(option: UniNamespace.SendHCEMessageOption): void;
    /**
     *
     * 需要基础库: `2.25.0`
     *
     * 在插件中使用:不支持
     *
     * 拉起手机发送短信界面。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/sms/wx.sendSms.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/sms/wx.sendSms.html)
     */
    sendSms(option: UniNamespace.SendSmsOption): void;
    /**
     *
     * 需要基础库: `2.8.0`
     *
     * 在插件中使用:不支持
     *
     * 设置自定义登录态,在周期性拉取数据时带上,便于第三方服务器验证请求合法性
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.setBackgroundFetchToken.html](https://developers.weixin.qq.com/miniprogram/dev/api/storage/background-fetch/wx.setBackgroundFetchToken.html)
     */
    setBackgroundFetchToken(option: UniNamespace.SetBackgroundFetchTokenOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:不支持
     *
     * 开启双人通话。设置 `enable` 为 `false` 时,无法接听呼叫。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.setEnable1v1Chat.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.setEnable1v1Chat.html)
     */
    setEnable1v1Chat(option: UniNamespace.SetEnable1v1ChatOption): void;
    /**
     *
     * 需要基础库: `2.3.0`
     *
     * 在插件中使用:需要基础库 `2.10.0`
     *
     * 设置 [InnerAudioContext](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/InnerAudioContext.html) 的播放选项。设置之后对当前小程序全局生效。
     *
     * ****
     *
     * ## 注意事项
     * - 为保证微信整体体验,speakerOn 为 true 时,客户端会忽略 mixWithOthers 参数的内容,强制与其它音频互斥
     * - 不支持在播放音频的过程中切换为扬声器播放,开发者如需切换可以先暂停当前播放的音频并记录下当前暂停的时间点,然后切换后重新从原来暂停的时间点开始播放音频
     * - 目前 wx.setInnerAudioOption 接口不兼容 wx.createWebAudioContext 接口,也不兼容 wx.createInnerAudioContext 开启 useWebAudioImplement 的情况,将在后续版本中支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.setInnerAudioOption.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.setInnerAudioOption.html)
     */
    setInnerAudioOption(option: UniNamespace.SetInnerAudioOption): void;
    /**
     *
     * 需要基础库: `1.4.3`
     *
     * 在插件中使用:不支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ui/sticky/wx.setTopBarText.html](https://developers.weixin.qq.com/miniprogram/dev/api/ui/sticky/wx.setTopBarText.html)
     */
    setTopBarText(option: UniNamespace.SetTopBarTextOption): void;
    /**
     *
     * 需要基础库: `2.20.1`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 设置截屏/录屏时屏幕表现,仅支持在 Android 端调用
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.setVisualEffectOnCapture.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/screen/wx.setVisualEffectOnCapture.html)
     */
    setVisualEffectOnCapture(option: UniNamespace.SetVisualEffectOnCaptureOption): void;
    /**
     *
     * 需要基础库: `1.6.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 设置 `wifiList` 中 AP 的相关信息。在 `onGetWifiList` 回调后调用,**iOS特有接口**。
     *
     * **注意**
     *
     * - 该接口只能在 `onGetWifiList` 回调之后才能调用。
     * - 此时客户端会挂起,等待小程序设置 Wi-Fi 信息,请务必尽快调用该接口,若无数据请传入一个空数组。
     * - 有可能随着周边 Wi-Fi 列表的刷新,单个流程内收到多次带有存在重复的 Wi-Fi 列表的回调。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/wifi/wx.setWifiList.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/wifi/wx.setWifiList.html)
     */
    setWifiList(option: UniNamespace.SetWifiListOption): void;
    /**
     *
     * 需要基础库: `2.10.1`
     *
     * 在插件中使用:不支持
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ui/window/wx.setWindowSize.html](https://developers.weixin.qq.com/miniprogram/dev/api/ui/window/wx.setWindowSize.html)
     */
    setWindowSize(option: UniNamespace.SetWindowSizeOption): void;
    /**
     *
     * 需要基础库: `2.16.1`
     *
     * 在插件中使用:不支持
     *
     * 转发文件到聊天
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.shareFileMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.shareFileMessage.html)
     */
    shareFileMessage(option: UniNamespace.ShareFileMessageOption): void;
    /**
     *
     * 在插件中使用:不支持
     *
     * 分享数据到微信运动。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/werun/wx.shareToWeRun.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/werun/wx.shareToWeRun.html)
     */
    shareToWeRun(option: UniNamespace.ShareToWeRunOption): void;
    /**
     *
     * 需要基础库: `2.16.1`
     *
     * 在插件中使用:不支持
     *
     * 转发视频到聊天
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.shareVideoMessage.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.shareVideoMessage.html)
     */
    shareVideoMessage(option: UniNamespace.ShareVideoMessageOption): void;
    /**
     *
     * 需要基础库: `2.10.0`
     *
     * 在插件中使用:不支持
     *
     * 拉取h5领取红包封面页。获取参考红包封面地址参考 [微信红包封面开发平台](https://cover.weixin.qq.com/cgi-bin/mmcover-bin/readtemplate?t=page/index#/doc?page=introduce)。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/open-api/redpackage/wx.showRedPackage.html](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/redpackage/wx.showRedPackage.html)
     */
    showRedPackage(option: UniNamespace.ShowRedPackageOption): void;
    /**
     *
     * 需要基础库: `2.14.3`
     *
     * 在插件中使用:需要基础库 `2.16.0`
     *
     * 打开分享图片弹窗,可以将图片发送给朋友、收藏或下载
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.showShareImageMenu.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.showShareImageMenu.html)
     */
    showShareImageMenu(option: UniNamespace.ShowShareImageMenuOption): void;
    /**
     *
     * 需要基础库: `2.3.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 开始监听设备方向的变化。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.startDeviceMotionListening.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.startDeviceMotionListening.html)
     */
    startDeviceMotionListening(option?: UniNamespace.StartDeviceMotionListeningOption): void;
    /**
     *
     * 需要基础库: `1.7.0`
     *
     * 在插件中使用:需要基础库 `2.1.0`
     *
     * 初始化 NFC 模块。(HCE 模式仅安卓支持)
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.startHCE.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.startHCE.html)
     */
    startHCE(option: UniNamespace.StartHCEOption): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 开始搜索局域网下的 mDNS 服务。搜索的结果会通过 wx.onLocalService* 事件返回。
     *
     * **注意**
     *
     * 1. 由于操作系统相关能力变更,iOS 微信客户端 7.0.18 及以上版本无法使用 mDNS 相关接口,安卓版本不受影响
     * 2. wx.startLocalServiceDiscovery 是一个消耗性能的行为,开始 30 秒后会自动 stop 并执行 wx.onLocalServiceDiscoveryStop 注册的回调函数。
     * 3. 在调用 wx.startLocalServiceDiscovery 后,在这次搜索行为停止后才能发起下次 wx.startLocalServiceDiscovery。停止本次搜索行为的操作包括调用 wx.stopLocalServiceDiscovery 和 30 秒后系统自动 stop 本次搜索。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.startLocalServiceDiscovery.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.startLocalServiceDiscovery.html)
     */
    startLocalServiceDiscovery(option: UniNamespace.StartLocalServiceDiscoveryOption): void;
    /**
     *
     * 需要基础库: `2.8.0`
     *
     * 在插件中使用:不支持
     *
     * 开启小程序进入前后台时均接收位置消息,需引导用户开启[授权](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/authorize.html#后台定位)。授权以后,小程序在运行中或进入后台均可接受位置消息变化。
     *  ## 使用方法
     * 自 2022 年 7 月 14 日后发布的小程序,若使用该接口,需要在 app.json 中进行声明,否则将无法正常使用该接口,2022年7月14日前发布的小程序不受影响。[具体规则见公告](https://developers.weixin.qq.com/community/develop/doc/000a02f2c5026891650e7f40351c01)
     *
     *  ## 申请开通
     *  暂只针对如下类目的小程序开放,需要先通过类目审核,再在小程序管理后台,「开发」-「开发管理」-「接口设置」中自助开通该接口权限。从2022年7月14日开始,在代码审核环节将检测该接口是否已完成开通,如未开通,将在代码提审环节进行拦截。
     *
     *  ### 国内主体开放类目
     *
     *  | 一级类目/主体类型    | 二级类目    | 应用场景 |
     *  | -------------- | -------| -------- |
     *  | 电商平台 |    /    | 在小程序内提供线下商超导览、导航服务 |
     *  | 商家自营 |    /    | 在小程序内提供线下商超导览、导航服务 |
     *  | 交通服务 |    /    | 代驾服务、打车出行、城市共享交通、实时导航服务等 |
     *  | 生活服务 |    跑腿、共享服务    | 含有B端小程序配送服务,基于地理位置共享工具类服务  |
     *  | 物流服务 |    收件/派件、查件、邮政、装卸搬运、快递柜、货物运输     |    提供B端小程序快递/货物收发服务 |
     *  | 餐饮服务 |     点餐平台、外卖平台    | 提供B端小程序餐饮配送服务、线下门店实时导航 |
     *  | 工具    | 健康管理 |    基于实时地理位置提供身体管理记录等服务 |
     *  | 旅游 | 景区服务、住宿服务 | 在小程序内提供景区导航、导览服务、酒店导航服务 |
     *  | 政务民生 |    /     | 提供政务单位相关业务 |
     *  | 政府主体帐号 |    /    | 提供政务单位相关业务 |
     *
     *  ### 海外主体开放类目
     *  | 一级类目/主体类型    | 二级类目    | 应用场景 |
     *  | -------------- | -------| -------- |
     *  | 交通服务     | /     | 代驾服务、打车出行、城市共享交通、实时导航服务等 |
     *  | 生活服务     | 家政、外送     | 含有B端小程序配送服务,基于地理位置导航上门服务 |
     *  | 快递业与邮政     | /     | 提供B端小程序快递/货物收发服务 |
     *  | 餐饮服务     | 外卖点餐     | 提供B端小程序餐饮配送服务、线下门店实时导航 |
     *  | 电商平台     | /     | 在小程序内提供线下商超导览、导航服务 |
     *  | 跨境电商     | /     | 在小程序内提供线下商超导览、导航服务 |
     *  | 本地服务     | 服装/鞋/箱包、玩具、家电/数码/手机、美妆/洗护、珠宝/饰品/眼镜/钟表、运动/户外/乐器、鲜花/园艺/工艺品、家居/家饰/家纺、办公/文具、机械/电子器件、酒、食品、百货/超市/便利店、宠物食品/用品     | 在小程序内提供线下商超导览、导航服务 |
     *
     * **注意**
     *
     * - 安卓微信7.0.6版本,iOS 7.0.5版本起支持该接口
     * - 需在app.json中配置requiredBackgroundModes: ['location']后使用
     * - 获取位置信息需配置[地理位置用途说明](https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html#permission)。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdateBackground.html](https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdateBackground.html)
     */
    startLocationUpdateBackground(option: UniNamespace.StartLocationUpdateBackgroundOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/recorder/wx.startRecord.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/recorder/wx.startRecord.html)
     */
    startRecord(option?: UniNamespace.WxStartRecordOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.stopBackgroundAudio.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/background-audio/wx.stopBackgroundAudio.html)
     */
    stopBackgroundAudio(option?: UniNamespace.StopBackgroundAudioOption): void;
    /**
     *
     * 需要基础库: `2.3.0`
     *
     * 在插件中使用:需要基础库 `2.9.1`
     *
     * 停止监听设备方向的变化。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.stopDeviceMotionListening.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.stopDeviceMotionListening.html)
     */
    stopDeviceMotionListening(option?: UniNamespace.StopDeviceMotionListeningOption): void;
    /**
     *
     * 需要基础库: `2.18.0`
     *
     * 在插件中使用:需要基础库 `2.21.3`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/ai/face/wx.stopFaceDetect.html](https://developers.weixin.qq.com/miniprogram/dev/api/ai/face/wx.stopFaceDetect.html)
     */
    stopFaceDetect(option?: UniNamespace.StopFaceDetectOption): void;
    /**
     *
     * 需要基础库: `1.7.0`
     *
     * 在插件中使用:需要基础库 `2.1.0`
     *
     * 关闭 NFC 模块。仅在安卓系统下有效。
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.stopHCE.html](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.stopHCE.html)
     */
    stopHCE(option?: UniNamespace.StopHCEOption): void;
    /**
     *
     * 需要基础库: `2.4.0`
     *
     * 在插件中使用:需要基础库 `2.15.0`
     *
     * 停止搜索 mDNS 服务
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.stopLocalServiceDiscovery.html](https://developers.weixin.qq.com/miniprogram/dev/api/network/mdns/wx.stopLocalServiceDiscovery.html)
     */
    stopLocalServiceDiscovery(option?: UniNamespace.StopLocalServiceDiscoveryOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/recorder/wx.stopRecord.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/recorder/wx.stopRecord.html)
     */
    stopRecord(option?: UniNamespace.WxStopRecordOption): void;
    /**
     *
     * 在插件中使用:需要基础库 `1.9.6`
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.stopVoice.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/wx.stopVoice.html)
     */
    stopVoice(option?: UniNamespace.StopVoiceOption): void;
    /**
     *
     * 需要基础库: `2.11.0`
     *
     * 在插件中使用:需要基础库 `2.11.0`
     *
     * 订阅视频画面成员。对于视频房间,当成员超过两人时需进行订阅,否则只能看到最先加入房间的两人画面。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.subscribeVoIPVideoMembers.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.subscribeVoIPVideoMembers.html)
     */
    subscribeVoIPVideoMembers(option: UniNamespace.SubscribeVoIPVideoMembersOption): void;
    /**
     *
     * 需要基础库: `1.2.0`
     *
     * 在插件中使用:需要基础库 `2.1.0`
     *
     * 在插件中使用时,只能在当前插件的页面中调用
     *
     * 更新转发属性
     *
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.updateShareMenu.html](https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.updateShareMenu.html)
     */
    updateShareMenu(option: UniNamespace.UpdateShareMenuOption): void;
    /**
     *
     * 需要基础库: `2.7.0`
     *
     * 在插件中使用:需要基础库 `2.9.0`
     *
     * 更新实时语音静音设置
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.updateVoIPChatMuteConfig.html](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.updateVoIPChatMuteConfig.html)
     */
    updateVoIPChatMuteConfig(option: UniNamespace.UpdateVoIPChatMuteConfigOption): void;
    /**
     *
     * 需要基础库: `2.12.0`
     *
     * 在插件中使用:需要基础库 `2.12.0`
     *
     * 更新客户端版本。当判断用户小程序所在客户端版本过低时,可使用该接口跳转到更新微信页面。
     *
     * 文档: [https://developers.weixin.qq.com/miniprogram/dev/api/base/update/wx.updateWeChatApp.html](https://developers.weixin.qq.com/miniprogram/dev/api/base/update/wx.updateWeChatApp.html)
     */
    updateWeChatApp(option?: UniNamespace.UpdateWeChatAppOption): void;
}