klubok 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -895,4 +895,1849 @@ export declare function klubok<K1 extends string, K2 extends string, K3 extends
895
895
  } & {
896
896
  [k in K10]: R10;
897
897
  }>;
898
+ export declare function klubok<K1 extends string, K2 extends string, K3 extends string, K4 extends string, K5 extends string, K6 extends string, K7 extends string, K8 extends string, K9 extends string, K10 extends string, K11 extends string, C extends object, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11>(fn1: KeyedFunction<K1, (ctx: C) => Promise<R1> | R1>, fn2: KeyedFunction<K2, (ctx: C & {
899
+ [k in K1]: R1;
900
+ }) => Promise<R2> | R2>, fn3: KeyedFunction<K3, (ctx: C & {
901
+ [k in K1]: R1;
902
+ } & {
903
+ [k in K2]: R2;
904
+ }) => Promise<R3> | R3>, fn4: KeyedFunction<K4, (ctx: C & {
905
+ [k in K1]: R1;
906
+ } & {
907
+ [k in K2]: R2;
908
+ } & {
909
+ [k in K3]: R3;
910
+ }) => Promise<R4> | R4>, fn5: KeyedFunction<K5, (ctx: C & {
911
+ [k in K1]: R1;
912
+ } & {
913
+ [k in K2]: R2;
914
+ } & {
915
+ [k in K3]: R3;
916
+ } & {
917
+ [k in K4]: R4;
918
+ }) => Promise<R5> | R5>, fn6: KeyedFunction<K6, (ctx: C & {
919
+ [k in K1]: R1;
920
+ } & {
921
+ [k in K2]: R2;
922
+ } & {
923
+ [k in K3]: R3;
924
+ } & {
925
+ [k in K4]: R4;
926
+ } & {
927
+ [k in K5]: R5;
928
+ }) => Promise<R6> | R6>, fn7: KeyedFunction<K7, (ctx: C & {
929
+ [k in K1]: R1;
930
+ } & {
931
+ [k in K2]: R2;
932
+ } & {
933
+ [k in K3]: R3;
934
+ } & {
935
+ [k in K4]: R4;
936
+ } & {
937
+ [k in K5]: R5;
938
+ } & {
939
+ [k in K6]: R6;
940
+ }) => Promise<R7> | R7>, fn8: KeyedFunction<K8, (ctx: C & {
941
+ [k in K1]: R1;
942
+ } & {
943
+ [k in K2]: R2;
944
+ } & {
945
+ [k in K3]: R3;
946
+ } & {
947
+ [k in K4]: R4;
948
+ } & {
949
+ [k in K5]: R5;
950
+ } & {
951
+ [k in K6]: R6;
952
+ } & {
953
+ [k in K7]: R7;
954
+ }) => Promise<R8> | R8>, fn9: KeyedFunction<K9, (ctx: C & {
955
+ [k in K1]: R1;
956
+ } & {
957
+ [k in K2]: R2;
958
+ } & {
959
+ [k in K3]: R3;
960
+ } & {
961
+ [k in K4]: R4;
962
+ } & {
963
+ [k in K5]: R5;
964
+ } & {
965
+ [k in K6]: R6;
966
+ } & {
967
+ [k in K7]: R7;
968
+ } & {
969
+ [k in K8]: R8;
970
+ }) => Promise<R9> | R9>, fn10: KeyedFunction<K10, (ctx: C & {
971
+ [k in K1]: R1;
972
+ } & {
973
+ [k in K2]: R2;
974
+ } & {
975
+ [k in K3]: R3;
976
+ } & {
977
+ [k in K4]: R4;
978
+ } & {
979
+ [k in K5]: R5;
980
+ } & {
981
+ [k in K6]: R6;
982
+ } & {
983
+ [k in K7]: R7;
984
+ } & {
985
+ [k in K8]: R8;
986
+ } & {
987
+ [k in K9]: R9;
988
+ }) => Promise<R10> | R10>, fn11: KeyedFunction<K11, (ctx: C & {
989
+ [k in K1]: R1;
990
+ } & {
991
+ [k in K2]: R2;
992
+ } & {
993
+ [k in K3]: R3;
994
+ } & {
995
+ [k in K4]: R4;
996
+ } & {
997
+ [k in K5]: R5;
998
+ } & {
999
+ [k in K6]: R6;
1000
+ } & {
1001
+ [k in K7]: R7;
1002
+ } & {
1003
+ [k in K8]: R8;
1004
+ } & {
1005
+ [k in K9]: R9;
1006
+ } & {
1007
+ [k in K10]: R10;
1008
+ }) => Promise<R11> | R11>): (ctx: C, mock?: {
1009
+ [k in K1]?: R1 | ((ctx: C) => R1);
1010
+ } & {
1011
+ [k in K2]?: R2 | ((ctx: C & {
1012
+ [k in K1]: R1;
1013
+ }) => R2);
1014
+ } & {
1015
+ [k in K3]?: R3 | ((ctx: C & {
1016
+ [k in K1]: R1;
1017
+ } & {
1018
+ [k in K2]: R2;
1019
+ }) => R3);
1020
+ } & {
1021
+ [k in K4]?: R4 | ((ctx: C & {
1022
+ [k in K1]: R1;
1023
+ } & {
1024
+ [k in K2]: R2;
1025
+ } & {
1026
+ [k in K3]: R3;
1027
+ }) => R4);
1028
+ } & {
1029
+ [k in K5]?: R5 | ((ctx: C & {
1030
+ [k in K1]: R1;
1031
+ } & {
1032
+ [k in K2]: R2;
1033
+ } & {
1034
+ [k in K3]: R3;
1035
+ } & {
1036
+ [k in K4]: R4;
1037
+ }) => R5);
1038
+ } & {
1039
+ [k in K6]?: R6 | ((ctx: C & {
1040
+ [k in K1]: R1;
1041
+ } & {
1042
+ [k in K2]: R2;
1043
+ } & {
1044
+ [k in K3]: R3;
1045
+ } & {
1046
+ [k in K4]: R4;
1047
+ } & {
1048
+ [k in K5]: R5;
1049
+ }) => R6);
1050
+ } & {
1051
+ [k in K7]?: R7 | ((ctx: C & {
1052
+ [k in K1]: R1;
1053
+ } & {
1054
+ [k in K2]: R2;
1055
+ } & {
1056
+ [k in K3]: R3;
1057
+ } & {
1058
+ [k in K4]: R4;
1059
+ } & {
1060
+ [k in K5]: R5;
1061
+ } & {
1062
+ [k in K6]: R6;
1063
+ }) => R7);
1064
+ } & {
1065
+ [k in K8]?: R8 | ((ctx: C & {
1066
+ [k in K1]: R1;
1067
+ } & {
1068
+ [k in K2]: R2;
1069
+ } & {
1070
+ [k in K3]: R3;
1071
+ } & {
1072
+ [k in K4]: R4;
1073
+ } & {
1074
+ [k in K5]: R5;
1075
+ } & {
1076
+ [k in K6]: R6;
1077
+ } & {
1078
+ [k in K7]: R7;
1079
+ }) => R8);
1080
+ } & {
1081
+ [k in K9]?: R9 | ((ctx: C & {
1082
+ [k in K1]: R1;
1083
+ } & {
1084
+ [k in K2]: R2;
1085
+ } & {
1086
+ [k in K3]: R3;
1087
+ } & {
1088
+ [k in K4]: R4;
1089
+ } & {
1090
+ [k in K5]: R5;
1091
+ } & {
1092
+ [k in K6]: R6;
1093
+ } & {
1094
+ [k in K7]: R7;
1095
+ } & {
1096
+ [k in K8]: R8;
1097
+ }) => R9);
1098
+ } & {
1099
+ [k in K10]?: R10 | ((ctx: C & {
1100
+ [k in K1]: R1;
1101
+ } & {
1102
+ [k in K2]: R2;
1103
+ } & {
1104
+ [k in K3]: R3;
1105
+ } & {
1106
+ [k in K4]: R4;
1107
+ } & {
1108
+ [k in K5]: R5;
1109
+ } & {
1110
+ [k in K6]: R6;
1111
+ } & {
1112
+ [k in K7]: R7;
1113
+ } & {
1114
+ [k in K8]: R8;
1115
+ } & {
1116
+ [k in K9]: R9;
1117
+ }) => R10);
1118
+ } & {
1119
+ [k in K11]?: R11 | ((ctx: C & {
1120
+ [k in K1]: R1;
1121
+ } & {
1122
+ [k in K2]: R2;
1123
+ } & {
1124
+ [k in K3]: R3;
1125
+ } & {
1126
+ [k in K4]: R4;
1127
+ } & {
1128
+ [k in K5]: R5;
1129
+ } & {
1130
+ [k in K6]: R6;
1131
+ } & {
1132
+ [k in K7]: R7;
1133
+ } & {
1134
+ [k in K8]: R8;
1135
+ } & {
1136
+ [k in K9]: R9;
1137
+ } & {
1138
+ [k in K10]: R10;
1139
+ }) => R11);
1140
+ }, only?: (K1 | K2 | K3 | K4 | K5 | K6 | K7 | K8 | K9 | K10 | K11)[]) => Promise<C & {
1141
+ [k in K1]: R1;
1142
+ } & {
1143
+ [k in K2]: R2;
1144
+ } & {
1145
+ [k in K3]: R3;
1146
+ } & {
1147
+ [k in K4]: R4;
1148
+ } & {
1149
+ [k in K5]: R5;
1150
+ } & {
1151
+ [k in K6]: R6;
1152
+ } & {
1153
+ [k in K7]: R7;
1154
+ } & {
1155
+ [k in K8]: R8;
1156
+ } & {
1157
+ [k in K9]: R9;
1158
+ } & {
1159
+ [k in K10]: R10;
1160
+ } & {
1161
+ [k in K11]: R11;
1162
+ }>;
1163
+ export declare function klubok<K1 extends string, K2 extends string, K3 extends string, K4 extends string, K5 extends string, K6 extends string, K7 extends string, K8 extends string, K9 extends string, K10 extends string, K11 extends string, K12 extends string, C extends object, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12>(fn1: KeyedFunction<K1, (ctx: C) => Promise<R1> | R1>, fn2: KeyedFunction<K2, (ctx: C & {
1164
+ [k in K1]: R1;
1165
+ }) => Promise<R2> | R2>, fn3: KeyedFunction<K3, (ctx: C & {
1166
+ [k in K1]: R1;
1167
+ } & {
1168
+ [k in K2]: R2;
1169
+ }) => Promise<R3> | R3>, fn4: KeyedFunction<K4, (ctx: C & {
1170
+ [k in K1]: R1;
1171
+ } & {
1172
+ [k in K2]: R2;
1173
+ } & {
1174
+ [k in K3]: R3;
1175
+ }) => Promise<R4> | R4>, fn5: KeyedFunction<K5, (ctx: C & {
1176
+ [k in K1]: R1;
1177
+ } & {
1178
+ [k in K2]: R2;
1179
+ } & {
1180
+ [k in K3]: R3;
1181
+ } & {
1182
+ [k in K4]: R4;
1183
+ }) => Promise<R5> | R5>, fn6: KeyedFunction<K6, (ctx: C & {
1184
+ [k in K1]: R1;
1185
+ } & {
1186
+ [k in K2]: R2;
1187
+ } & {
1188
+ [k in K3]: R3;
1189
+ } & {
1190
+ [k in K4]: R4;
1191
+ } & {
1192
+ [k in K5]: R5;
1193
+ }) => Promise<R6> | R6>, fn7: KeyedFunction<K7, (ctx: C & {
1194
+ [k in K1]: R1;
1195
+ } & {
1196
+ [k in K2]: R2;
1197
+ } & {
1198
+ [k in K3]: R3;
1199
+ } & {
1200
+ [k in K4]: R4;
1201
+ } & {
1202
+ [k in K5]: R5;
1203
+ } & {
1204
+ [k in K6]: R6;
1205
+ }) => Promise<R7> | R7>, fn8: KeyedFunction<K8, (ctx: C & {
1206
+ [k in K1]: R1;
1207
+ } & {
1208
+ [k in K2]: R2;
1209
+ } & {
1210
+ [k in K3]: R3;
1211
+ } & {
1212
+ [k in K4]: R4;
1213
+ } & {
1214
+ [k in K5]: R5;
1215
+ } & {
1216
+ [k in K6]: R6;
1217
+ } & {
1218
+ [k in K7]: R7;
1219
+ }) => Promise<R8> | R8>, fn9: KeyedFunction<K9, (ctx: C & {
1220
+ [k in K1]: R1;
1221
+ } & {
1222
+ [k in K2]: R2;
1223
+ } & {
1224
+ [k in K3]: R3;
1225
+ } & {
1226
+ [k in K4]: R4;
1227
+ } & {
1228
+ [k in K5]: R5;
1229
+ } & {
1230
+ [k in K6]: R6;
1231
+ } & {
1232
+ [k in K7]: R7;
1233
+ } & {
1234
+ [k in K8]: R8;
1235
+ }) => Promise<R9> | R9>, fn10: KeyedFunction<K10, (ctx: C & {
1236
+ [k in K1]: R1;
1237
+ } & {
1238
+ [k in K2]: R2;
1239
+ } & {
1240
+ [k in K3]: R3;
1241
+ } & {
1242
+ [k in K4]: R4;
1243
+ } & {
1244
+ [k in K5]: R5;
1245
+ } & {
1246
+ [k in K6]: R6;
1247
+ } & {
1248
+ [k in K7]: R7;
1249
+ } & {
1250
+ [k in K8]: R8;
1251
+ } & {
1252
+ [k in K9]: R9;
1253
+ }) => Promise<R10> | R10>, fn11: KeyedFunction<K11, (ctx: C & {
1254
+ [k in K1]: R1;
1255
+ } & {
1256
+ [k in K2]: R2;
1257
+ } & {
1258
+ [k in K3]: R3;
1259
+ } & {
1260
+ [k in K4]: R4;
1261
+ } & {
1262
+ [k in K5]: R5;
1263
+ } & {
1264
+ [k in K6]: R6;
1265
+ } & {
1266
+ [k in K7]: R7;
1267
+ } & {
1268
+ [k in K8]: R8;
1269
+ } & {
1270
+ [k in K9]: R9;
1271
+ } & {
1272
+ [k in K10]: R10;
1273
+ }) => Promise<R11> | R11>, fn12: KeyedFunction<K12, (ctx: C & {
1274
+ [k in K1]: R1;
1275
+ } & {
1276
+ [k in K2]: R2;
1277
+ } & {
1278
+ [k in K3]: R3;
1279
+ } & {
1280
+ [k in K4]: R4;
1281
+ } & {
1282
+ [k in K5]: R5;
1283
+ } & {
1284
+ [k in K6]: R6;
1285
+ } & {
1286
+ [k in K7]: R7;
1287
+ } & {
1288
+ [k in K8]: R8;
1289
+ } & {
1290
+ [k in K9]: R9;
1291
+ } & {
1292
+ [k in K10]: R10;
1293
+ } & {
1294
+ [k in K11]: R11;
1295
+ }) => Promise<R12> | R12>): (ctx: C, mock?: {
1296
+ [k in K1]?: R1 | ((ctx: C) => R1);
1297
+ } & {
1298
+ [k in K2]?: R2 | ((ctx: C & {
1299
+ [k in K1]: R1;
1300
+ }) => R2);
1301
+ } & {
1302
+ [k in K3]?: R3 | ((ctx: C & {
1303
+ [k in K1]: R1;
1304
+ } & {
1305
+ [k in K2]: R2;
1306
+ }) => R3);
1307
+ } & {
1308
+ [k in K4]?: R4 | ((ctx: C & {
1309
+ [k in K1]: R1;
1310
+ } & {
1311
+ [k in K2]: R2;
1312
+ } & {
1313
+ [k in K3]: R3;
1314
+ }) => R4);
1315
+ } & {
1316
+ [k in K5]?: R5 | ((ctx: C & {
1317
+ [k in K1]: R1;
1318
+ } & {
1319
+ [k in K2]: R2;
1320
+ } & {
1321
+ [k in K3]: R3;
1322
+ } & {
1323
+ [k in K4]: R4;
1324
+ }) => R5);
1325
+ } & {
1326
+ [k in K6]?: R6 | ((ctx: C & {
1327
+ [k in K1]: R1;
1328
+ } & {
1329
+ [k in K2]: R2;
1330
+ } & {
1331
+ [k in K3]: R3;
1332
+ } & {
1333
+ [k in K4]: R4;
1334
+ } & {
1335
+ [k in K5]: R5;
1336
+ }) => R6);
1337
+ } & {
1338
+ [k in K7]?: R7 | ((ctx: C & {
1339
+ [k in K1]: R1;
1340
+ } & {
1341
+ [k in K2]: R2;
1342
+ } & {
1343
+ [k in K3]: R3;
1344
+ } & {
1345
+ [k in K4]: R4;
1346
+ } & {
1347
+ [k in K5]: R5;
1348
+ } & {
1349
+ [k in K6]: R6;
1350
+ }) => R7);
1351
+ } & {
1352
+ [k in K8]?: R8 | ((ctx: C & {
1353
+ [k in K1]: R1;
1354
+ } & {
1355
+ [k in K2]: R2;
1356
+ } & {
1357
+ [k in K3]: R3;
1358
+ } & {
1359
+ [k in K4]: R4;
1360
+ } & {
1361
+ [k in K5]: R5;
1362
+ } & {
1363
+ [k in K6]: R6;
1364
+ } & {
1365
+ [k in K7]: R7;
1366
+ }) => R8);
1367
+ } & {
1368
+ [k in K9]?: R9 | ((ctx: C & {
1369
+ [k in K1]: R1;
1370
+ } & {
1371
+ [k in K2]: R2;
1372
+ } & {
1373
+ [k in K3]: R3;
1374
+ } & {
1375
+ [k in K4]: R4;
1376
+ } & {
1377
+ [k in K5]: R5;
1378
+ } & {
1379
+ [k in K6]: R6;
1380
+ } & {
1381
+ [k in K7]: R7;
1382
+ } & {
1383
+ [k in K8]: R8;
1384
+ }) => R9);
1385
+ } & {
1386
+ [k in K10]?: R10 | ((ctx: C & {
1387
+ [k in K1]: R1;
1388
+ } & {
1389
+ [k in K2]: R2;
1390
+ } & {
1391
+ [k in K3]: R3;
1392
+ } & {
1393
+ [k in K4]: R4;
1394
+ } & {
1395
+ [k in K5]: R5;
1396
+ } & {
1397
+ [k in K6]: R6;
1398
+ } & {
1399
+ [k in K7]: R7;
1400
+ } & {
1401
+ [k in K8]: R8;
1402
+ } & {
1403
+ [k in K9]: R9;
1404
+ }) => R10);
1405
+ } & {
1406
+ [k in K11]?: R11 | ((ctx: C & {
1407
+ [k in K1]: R1;
1408
+ } & {
1409
+ [k in K2]: R2;
1410
+ } & {
1411
+ [k in K3]: R3;
1412
+ } & {
1413
+ [k in K4]: R4;
1414
+ } & {
1415
+ [k in K5]: R5;
1416
+ } & {
1417
+ [k in K6]: R6;
1418
+ } & {
1419
+ [k in K7]: R7;
1420
+ } & {
1421
+ [k in K8]: R8;
1422
+ } & {
1423
+ [k in K9]: R9;
1424
+ } & {
1425
+ [k in K10]: R10;
1426
+ }) => R11);
1427
+ } & {
1428
+ [k in K12]?: R12 | ((ctx: C & {
1429
+ [k in K1]: R1;
1430
+ } & {
1431
+ [k in K2]: R2;
1432
+ } & {
1433
+ [k in K3]: R3;
1434
+ } & {
1435
+ [k in K4]: R4;
1436
+ } & {
1437
+ [k in K5]: R5;
1438
+ } & {
1439
+ [k in K6]: R6;
1440
+ } & {
1441
+ [k in K7]: R7;
1442
+ } & {
1443
+ [k in K8]: R8;
1444
+ } & {
1445
+ [k in K9]: R9;
1446
+ } & {
1447
+ [k in K10]: R10;
1448
+ } & {
1449
+ [k in K11]: R11;
1450
+ }) => R12);
1451
+ }, only?: (K1 | K2 | K3 | K4 | K5 | K6 | K7 | K8 | K9 | K10 | K11 | K12)[]) => Promise<C & {
1452
+ [k in K1]: R1;
1453
+ } & {
1454
+ [k in K2]: R2;
1455
+ } & {
1456
+ [k in K3]: R3;
1457
+ } & {
1458
+ [k in K4]: R4;
1459
+ } & {
1460
+ [k in K5]: R5;
1461
+ } & {
1462
+ [k in K6]: R6;
1463
+ } & {
1464
+ [k in K7]: R7;
1465
+ } & {
1466
+ [k in K8]: R8;
1467
+ } & {
1468
+ [k in K9]: R9;
1469
+ } & {
1470
+ [k in K10]: R10;
1471
+ } & {
1472
+ [k in K11]: R11;
1473
+ } & {
1474
+ [k in K12]: R12;
1475
+ }>;
1476
+ export declare function klubok<K1 extends string, K2 extends string, K3 extends string, K4 extends string, K5 extends string, K6 extends string, K7 extends string, K8 extends string, K9 extends string, K10 extends string, K11 extends string, K12 extends string, K13 extends string, C extends object, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13>(fn1: KeyedFunction<K1, (ctx: C) => Promise<R1> | R1>, fn2: KeyedFunction<K2, (ctx: C & {
1477
+ [k in K1]: R1;
1478
+ }) => Promise<R2> | R2>, fn3: KeyedFunction<K3, (ctx: C & {
1479
+ [k in K1]: R1;
1480
+ } & {
1481
+ [k in K2]: R2;
1482
+ }) => Promise<R3> | R3>, fn4: KeyedFunction<K4, (ctx: C & {
1483
+ [k in K1]: R1;
1484
+ } & {
1485
+ [k in K2]: R2;
1486
+ } & {
1487
+ [k in K3]: R3;
1488
+ }) => Promise<R4> | R4>, fn5: KeyedFunction<K5, (ctx: C & {
1489
+ [k in K1]: R1;
1490
+ } & {
1491
+ [k in K2]: R2;
1492
+ } & {
1493
+ [k in K3]: R3;
1494
+ } & {
1495
+ [k in K4]: R4;
1496
+ }) => Promise<R5> | R5>, fn6: KeyedFunction<K6, (ctx: C & {
1497
+ [k in K1]: R1;
1498
+ } & {
1499
+ [k in K2]: R2;
1500
+ } & {
1501
+ [k in K3]: R3;
1502
+ } & {
1503
+ [k in K4]: R4;
1504
+ } & {
1505
+ [k in K5]: R5;
1506
+ }) => Promise<R6> | R6>, fn7: KeyedFunction<K7, (ctx: C & {
1507
+ [k in K1]: R1;
1508
+ } & {
1509
+ [k in K2]: R2;
1510
+ } & {
1511
+ [k in K3]: R3;
1512
+ } & {
1513
+ [k in K4]: R4;
1514
+ } & {
1515
+ [k in K5]: R5;
1516
+ } & {
1517
+ [k in K6]: R6;
1518
+ }) => Promise<R7> | R7>, fn8: KeyedFunction<K8, (ctx: C & {
1519
+ [k in K1]: R1;
1520
+ } & {
1521
+ [k in K2]: R2;
1522
+ } & {
1523
+ [k in K3]: R3;
1524
+ } & {
1525
+ [k in K4]: R4;
1526
+ } & {
1527
+ [k in K5]: R5;
1528
+ } & {
1529
+ [k in K6]: R6;
1530
+ } & {
1531
+ [k in K7]: R7;
1532
+ }) => Promise<R8> | R8>, fn9: KeyedFunction<K9, (ctx: C & {
1533
+ [k in K1]: R1;
1534
+ } & {
1535
+ [k in K2]: R2;
1536
+ } & {
1537
+ [k in K3]: R3;
1538
+ } & {
1539
+ [k in K4]: R4;
1540
+ } & {
1541
+ [k in K5]: R5;
1542
+ } & {
1543
+ [k in K6]: R6;
1544
+ } & {
1545
+ [k in K7]: R7;
1546
+ } & {
1547
+ [k in K8]: R8;
1548
+ }) => Promise<R9> | R9>, fn10: KeyedFunction<K10, (ctx: C & {
1549
+ [k in K1]: R1;
1550
+ } & {
1551
+ [k in K2]: R2;
1552
+ } & {
1553
+ [k in K3]: R3;
1554
+ } & {
1555
+ [k in K4]: R4;
1556
+ } & {
1557
+ [k in K5]: R5;
1558
+ } & {
1559
+ [k in K6]: R6;
1560
+ } & {
1561
+ [k in K7]: R7;
1562
+ } & {
1563
+ [k in K8]: R8;
1564
+ } & {
1565
+ [k in K9]: R9;
1566
+ }) => Promise<R10> | R10>, fn11: KeyedFunction<K11, (ctx: C & {
1567
+ [k in K1]: R1;
1568
+ } & {
1569
+ [k in K2]: R2;
1570
+ } & {
1571
+ [k in K3]: R3;
1572
+ } & {
1573
+ [k in K4]: R4;
1574
+ } & {
1575
+ [k in K5]: R5;
1576
+ } & {
1577
+ [k in K6]: R6;
1578
+ } & {
1579
+ [k in K7]: R7;
1580
+ } & {
1581
+ [k in K8]: R8;
1582
+ } & {
1583
+ [k in K9]: R9;
1584
+ } & {
1585
+ [k in K10]: R10;
1586
+ }) => Promise<R11> | R11>, fn12: KeyedFunction<K12, (ctx: C & {
1587
+ [k in K1]: R1;
1588
+ } & {
1589
+ [k in K2]: R2;
1590
+ } & {
1591
+ [k in K3]: R3;
1592
+ } & {
1593
+ [k in K4]: R4;
1594
+ } & {
1595
+ [k in K5]: R5;
1596
+ } & {
1597
+ [k in K6]: R6;
1598
+ } & {
1599
+ [k in K7]: R7;
1600
+ } & {
1601
+ [k in K8]: R8;
1602
+ } & {
1603
+ [k in K9]: R9;
1604
+ } & {
1605
+ [k in K10]: R10;
1606
+ } & {
1607
+ [k in K11]: R11;
1608
+ }) => Promise<R12> | R12>, fn13: KeyedFunction<K13, (ctx: C & {
1609
+ [k in K1]: R1;
1610
+ } & {
1611
+ [k in K2]: R2;
1612
+ } & {
1613
+ [k in K3]: R3;
1614
+ } & {
1615
+ [k in K4]: R4;
1616
+ } & {
1617
+ [k in K5]: R5;
1618
+ } & {
1619
+ [k in K6]: R6;
1620
+ } & {
1621
+ [k in K7]: R7;
1622
+ } & {
1623
+ [k in K8]: R8;
1624
+ } & {
1625
+ [k in K9]: R9;
1626
+ } & {
1627
+ [k in K10]: R10;
1628
+ } & {
1629
+ [k in K11]: R11;
1630
+ } & {
1631
+ [k in K12]: R12;
1632
+ }) => Promise<R13> | R13>): (ctx: C, mock?: {
1633
+ [k in K1]?: R1 | ((ctx: C) => R1);
1634
+ } & {
1635
+ [k in K2]?: R2 | ((ctx: C & {
1636
+ [k in K1]: R1;
1637
+ }) => R2);
1638
+ } & {
1639
+ [k in K3]?: R3 | ((ctx: C & {
1640
+ [k in K1]: R1;
1641
+ } & {
1642
+ [k in K2]: R2;
1643
+ }) => R3);
1644
+ } & {
1645
+ [k in K4]?: R4 | ((ctx: C & {
1646
+ [k in K1]: R1;
1647
+ } & {
1648
+ [k in K2]: R2;
1649
+ } & {
1650
+ [k in K3]: R3;
1651
+ }) => R4);
1652
+ } & {
1653
+ [k in K5]?: R5 | ((ctx: C & {
1654
+ [k in K1]: R1;
1655
+ } & {
1656
+ [k in K2]: R2;
1657
+ } & {
1658
+ [k in K3]: R3;
1659
+ } & {
1660
+ [k in K4]: R4;
1661
+ }) => R5);
1662
+ } & {
1663
+ [k in K6]?: R6 | ((ctx: C & {
1664
+ [k in K1]: R1;
1665
+ } & {
1666
+ [k in K2]: R2;
1667
+ } & {
1668
+ [k in K3]: R3;
1669
+ } & {
1670
+ [k in K4]: R4;
1671
+ } & {
1672
+ [k in K5]: R5;
1673
+ }) => R6);
1674
+ } & {
1675
+ [k in K7]?: R7 | ((ctx: C & {
1676
+ [k in K1]: R1;
1677
+ } & {
1678
+ [k in K2]: R2;
1679
+ } & {
1680
+ [k in K3]: R3;
1681
+ } & {
1682
+ [k in K4]: R4;
1683
+ } & {
1684
+ [k in K5]: R5;
1685
+ } & {
1686
+ [k in K6]: R6;
1687
+ }) => R7);
1688
+ } & {
1689
+ [k in K8]?: R8 | ((ctx: C & {
1690
+ [k in K1]: R1;
1691
+ } & {
1692
+ [k in K2]: R2;
1693
+ } & {
1694
+ [k in K3]: R3;
1695
+ } & {
1696
+ [k in K4]: R4;
1697
+ } & {
1698
+ [k in K5]: R5;
1699
+ } & {
1700
+ [k in K6]: R6;
1701
+ } & {
1702
+ [k in K7]: R7;
1703
+ }) => R8);
1704
+ } & {
1705
+ [k in K9]?: R9 | ((ctx: C & {
1706
+ [k in K1]: R1;
1707
+ } & {
1708
+ [k in K2]: R2;
1709
+ } & {
1710
+ [k in K3]: R3;
1711
+ } & {
1712
+ [k in K4]: R4;
1713
+ } & {
1714
+ [k in K5]: R5;
1715
+ } & {
1716
+ [k in K6]: R6;
1717
+ } & {
1718
+ [k in K7]: R7;
1719
+ } & {
1720
+ [k in K8]: R8;
1721
+ }) => R9);
1722
+ } & {
1723
+ [k in K10]?: R10 | ((ctx: C & {
1724
+ [k in K1]: R1;
1725
+ } & {
1726
+ [k in K2]: R2;
1727
+ } & {
1728
+ [k in K3]: R3;
1729
+ } & {
1730
+ [k in K4]: R4;
1731
+ } & {
1732
+ [k in K5]: R5;
1733
+ } & {
1734
+ [k in K6]: R6;
1735
+ } & {
1736
+ [k in K7]: R7;
1737
+ } & {
1738
+ [k in K8]: R8;
1739
+ } & {
1740
+ [k in K9]: R9;
1741
+ }) => R10);
1742
+ } & {
1743
+ [k in K11]?: R11 | ((ctx: C & {
1744
+ [k in K1]: R1;
1745
+ } & {
1746
+ [k in K2]: R2;
1747
+ } & {
1748
+ [k in K3]: R3;
1749
+ } & {
1750
+ [k in K4]: R4;
1751
+ } & {
1752
+ [k in K5]: R5;
1753
+ } & {
1754
+ [k in K6]: R6;
1755
+ } & {
1756
+ [k in K7]: R7;
1757
+ } & {
1758
+ [k in K8]: R8;
1759
+ } & {
1760
+ [k in K9]: R9;
1761
+ } & {
1762
+ [k in K10]: R10;
1763
+ }) => R11);
1764
+ } & {
1765
+ [k in K12]?: R12 | ((ctx: C & {
1766
+ [k in K1]: R1;
1767
+ } & {
1768
+ [k in K2]: R2;
1769
+ } & {
1770
+ [k in K3]: R3;
1771
+ } & {
1772
+ [k in K4]: R4;
1773
+ } & {
1774
+ [k in K5]: R5;
1775
+ } & {
1776
+ [k in K6]: R6;
1777
+ } & {
1778
+ [k in K7]: R7;
1779
+ } & {
1780
+ [k in K8]: R8;
1781
+ } & {
1782
+ [k in K9]: R9;
1783
+ } & {
1784
+ [k in K10]: R10;
1785
+ } & {
1786
+ [k in K11]: R11;
1787
+ }) => R12);
1788
+ } & {
1789
+ [k in K13]?: R13 | ((ctx: C & {
1790
+ [k in K1]: R1;
1791
+ } & {
1792
+ [k in K2]: R2;
1793
+ } & {
1794
+ [k in K3]: R3;
1795
+ } & {
1796
+ [k in K4]: R4;
1797
+ } & {
1798
+ [k in K5]: R5;
1799
+ } & {
1800
+ [k in K6]: R6;
1801
+ } & {
1802
+ [k in K7]: R7;
1803
+ } & {
1804
+ [k in K8]: R8;
1805
+ } & {
1806
+ [k in K9]: R9;
1807
+ } & {
1808
+ [k in K10]: R10;
1809
+ } & {
1810
+ [k in K11]: R11;
1811
+ } & {
1812
+ [k in K12]: R12;
1813
+ }) => R13);
1814
+ }, only?: (K1 | K2 | K3 | K4 | K5 | K6 | K7 | K8 | K9 | K10 | K11 | K12 | K13)[]) => Promise<C & {
1815
+ [k in K1]: R1;
1816
+ } & {
1817
+ [k in K2]: R2;
1818
+ } & {
1819
+ [k in K3]: R3;
1820
+ } & {
1821
+ [k in K4]: R4;
1822
+ } & {
1823
+ [k in K5]: R5;
1824
+ } & {
1825
+ [k in K6]: R6;
1826
+ } & {
1827
+ [k in K7]: R7;
1828
+ } & {
1829
+ [k in K8]: R8;
1830
+ } & {
1831
+ [k in K9]: R9;
1832
+ } & {
1833
+ [k in K10]: R10;
1834
+ } & {
1835
+ [k in K11]: R11;
1836
+ } & {
1837
+ [k in K12]: R12;
1838
+ } & {
1839
+ [k in K13]: R13;
1840
+ }>;
1841
+ export declare function klubok<K1 extends string, K2 extends string, K3 extends string, K4 extends string, K5 extends string, K6 extends string, K7 extends string, K8 extends string, K9 extends string, K10 extends string, K11 extends string, K12 extends string, K13 extends string, K14 extends string, C extends object, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14>(fn1: KeyedFunction<K1, (ctx: C) => Promise<R1> | R1>, fn2: KeyedFunction<K2, (ctx: C & {
1842
+ [k in K1]: R1;
1843
+ }) => Promise<R2> | R2>, fn3: KeyedFunction<K3, (ctx: C & {
1844
+ [k in K1]: R1;
1845
+ } & {
1846
+ [k in K2]: R2;
1847
+ }) => Promise<R3> | R3>, fn4: KeyedFunction<K4, (ctx: C & {
1848
+ [k in K1]: R1;
1849
+ } & {
1850
+ [k in K2]: R2;
1851
+ } & {
1852
+ [k in K3]: R3;
1853
+ }) => Promise<R4> | R4>, fn5: KeyedFunction<K5, (ctx: C & {
1854
+ [k in K1]: R1;
1855
+ } & {
1856
+ [k in K2]: R2;
1857
+ } & {
1858
+ [k in K3]: R3;
1859
+ } & {
1860
+ [k in K4]: R4;
1861
+ }) => Promise<R5> | R5>, fn6: KeyedFunction<K6, (ctx: C & {
1862
+ [k in K1]: R1;
1863
+ } & {
1864
+ [k in K2]: R2;
1865
+ } & {
1866
+ [k in K3]: R3;
1867
+ } & {
1868
+ [k in K4]: R4;
1869
+ } & {
1870
+ [k in K5]: R5;
1871
+ }) => Promise<R6> | R6>, fn7: KeyedFunction<K7, (ctx: C & {
1872
+ [k in K1]: R1;
1873
+ } & {
1874
+ [k in K2]: R2;
1875
+ } & {
1876
+ [k in K3]: R3;
1877
+ } & {
1878
+ [k in K4]: R4;
1879
+ } & {
1880
+ [k in K5]: R5;
1881
+ } & {
1882
+ [k in K6]: R6;
1883
+ }) => Promise<R7> | R7>, fn8: KeyedFunction<K8, (ctx: C & {
1884
+ [k in K1]: R1;
1885
+ } & {
1886
+ [k in K2]: R2;
1887
+ } & {
1888
+ [k in K3]: R3;
1889
+ } & {
1890
+ [k in K4]: R4;
1891
+ } & {
1892
+ [k in K5]: R5;
1893
+ } & {
1894
+ [k in K6]: R6;
1895
+ } & {
1896
+ [k in K7]: R7;
1897
+ }) => Promise<R8> | R8>, fn9: KeyedFunction<K9, (ctx: C & {
1898
+ [k in K1]: R1;
1899
+ } & {
1900
+ [k in K2]: R2;
1901
+ } & {
1902
+ [k in K3]: R3;
1903
+ } & {
1904
+ [k in K4]: R4;
1905
+ } & {
1906
+ [k in K5]: R5;
1907
+ } & {
1908
+ [k in K6]: R6;
1909
+ } & {
1910
+ [k in K7]: R7;
1911
+ } & {
1912
+ [k in K8]: R8;
1913
+ }) => Promise<R9> | R9>, fn10: KeyedFunction<K10, (ctx: C & {
1914
+ [k in K1]: R1;
1915
+ } & {
1916
+ [k in K2]: R2;
1917
+ } & {
1918
+ [k in K3]: R3;
1919
+ } & {
1920
+ [k in K4]: R4;
1921
+ } & {
1922
+ [k in K5]: R5;
1923
+ } & {
1924
+ [k in K6]: R6;
1925
+ } & {
1926
+ [k in K7]: R7;
1927
+ } & {
1928
+ [k in K8]: R8;
1929
+ } & {
1930
+ [k in K9]: R9;
1931
+ }) => Promise<R10> | R10>, fn11: KeyedFunction<K11, (ctx: C & {
1932
+ [k in K1]: R1;
1933
+ } & {
1934
+ [k in K2]: R2;
1935
+ } & {
1936
+ [k in K3]: R3;
1937
+ } & {
1938
+ [k in K4]: R4;
1939
+ } & {
1940
+ [k in K5]: R5;
1941
+ } & {
1942
+ [k in K6]: R6;
1943
+ } & {
1944
+ [k in K7]: R7;
1945
+ } & {
1946
+ [k in K8]: R8;
1947
+ } & {
1948
+ [k in K9]: R9;
1949
+ } & {
1950
+ [k in K10]: R10;
1951
+ }) => Promise<R11> | R11>, fn12: KeyedFunction<K12, (ctx: C & {
1952
+ [k in K1]: R1;
1953
+ } & {
1954
+ [k in K2]: R2;
1955
+ } & {
1956
+ [k in K3]: R3;
1957
+ } & {
1958
+ [k in K4]: R4;
1959
+ } & {
1960
+ [k in K5]: R5;
1961
+ } & {
1962
+ [k in K6]: R6;
1963
+ } & {
1964
+ [k in K7]: R7;
1965
+ } & {
1966
+ [k in K8]: R8;
1967
+ } & {
1968
+ [k in K9]: R9;
1969
+ } & {
1970
+ [k in K10]: R10;
1971
+ } & {
1972
+ [k in K11]: R11;
1973
+ }) => Promise<R12> | R12>, fn13: KeyedFunction<K13, (ctx: C & {
1974
+ [k in K1]: R1;
1975
+ } & {
1976
+ [k in K2]: R2;
1977
+ } & {
1978
+ [k in K3]: R3;
1979
+ } & {
1980
+ [k in K4]: R4;
1981
+ } & {
1982
+ [k in K5]: R5;
1983
+ } & {
1984
+ [k in K6]: R6;
1985
+ } & {
1986
+ [k in K7]: R7;
1987
+ } & {
1988
+ [k in K8]: R8;
1989
+ } & {
1990
+ [k in K9]: R9;
1991
+ } & {
1992
+ [k in K10]: R10;
1993
+ } & {
1994
+ [k in K11]: R11;
1995
+ } & {
1996
+ [k in K12]: R12;
1997
+ }) => Promise<R13> | R13>, fn14: KeyedFunction<K14, (ctx: C & {
1998
+ [k in K1]: R1;
1999
+ } & {
2000
+ [k in K2]: R2;
2001
+ } & {
2002
+ [k in K3]: R3;
2003
+ } & {
2004
+ [k in K4]: R4;
2005
+ } & {
2006
+ [k in K5]: R5;
2007
+ } & {
2008
+ [k in K6]: R6;
2009
+ } & {
2010
+ [k in K7]: R7;
2011
+ } & {
2012
+ [k in K8]: R8;
2013
+ } & {
2014
+ [k in K9]: R9;
2015
+ } & {
2016
+ [k in K10]: R10;
2017
+ } & {
2018
+ [k in K11]: R11;
2019
+ } & {
2020
+ [k in K12]: R12;
2021
+ } & {
2022
+ [k in K13]: R13;
2023
+ }) => Promise<R14> | R14>): (ctx: C, mock?: {
2024
+ [k in K1]?: R1 | ((ctx: C) => R1);
2025
+ } & {
2026
+ [k in K2]?: R2 | ((ctx: C & {
2027
+ [k in K1]: R1;
2028
+ }) => R2);
2029
+ } & {
2030
+ [k in K3]?: R3 | ((ctx: C & {
2031
+ [k in K1]: R1;
2032
+ } & {
2033
+ [k in K2]: R2;
2034
+ }) => R3);
2035
+ } & {
2036
+ [k in K4]?: R4 | ((ctx: C & {
2037
+ [k in K1]: R1;
2038
+ } & {
2039
+ [k in K2]: R2;
2040
+ } & {
2041
+ [k in K3]: R3;
2042
+ }) => R4);
2043
+ } & {
2044
+ [k in K5]?: R5 | ((ctx: C & {
2045
+ [k in K1]: R1;
2046
+ } & {
2047
+ [k in K2]: R2;
2048
+ } & {
2049
+ [k in K3]: R3;
2050
+ } & {
2051
+ [k in K4]: R4;
2052
+ }) => R5);
2053
+ } & {
2054
+ [k in K6]?: R6 | ((ctx: C & {
2055
+ [k in K1]: R1;
2056
+ } & {
2057
+ [k in K2]: R2;
2058
+ } & {
2059
+ [k in K3]: R3;
2060
+ } & {
2061
+ [k in K4]: R4;
2062
+ } & {
2063
+ [k in K5]: R5;
2064
+ }) => R6);
2065
+ } & {
2066
+ [k in K7]?: R7 | ((ctx: C & {
2067
+ [k in K1]: R1;
2068
+ } & {
2069
+ [k in K2]: R2;
2070
+ } & {
2071
+ [k in K3]: R3;
2072
+ } & {
2073
+ [k in K4]: R4;
2074
+ } & {
2075
+ [k in K5]: R5;
2076
+ } & {
2077
+ [k in K6]: R6;
2078
+ }) => R7);
2079
+ } & {
2080
+ [k in K8]?: R8 | ((ctx: C & {
2081
+ [k in K1]: R1;
2082
+ } & {
2083
+ [k in K2]: R2;
2084
+ } & {
2085
+ [k in K3]: R3;
2086
+ } & {
2087
+ [k in K4]: R4;
2088
+ } & {
2089
+ [k in K5]: R5;
2090
+ } & {
2091
+ [k in K6]: R6;
2092
+ } & {
2093
+ [k in K7]: R7;
2094
+ }) => R8);
2095
+ } & {
2096
+ [k in K9]?: R9 | ((ctx: C & {
2097
+ [k in K1]: R1;
2098
+ } & {
2099
+ [k in K2]: R2;
2100
+ } & {
2101
+ [k in K3]: R3;
2102
+ } & {
2103
+ [k in K4]: R4;
2104
+ } & {
2105
+ [k in K5]: R5;
2106
+ } & {
2107
+ [k in K6]: R6;
2108
+ } & {
2109
+ [k in K7]: R7;
2110
+ } & {
2111
+ [k in K8]: R8;
2112
+ }) => R9);
2113
+ } & {
2114
+ [k in K10]?: R10 | ((ctx: C & {
2115
+ [k in K1]: R1;
2116
+ } & {
2117
+ [k in K2]: R2;
2118
+ } & {
2119
+ [k in K3]: R3;
2120
+ } & {
2121
+ [k in K4]: R4;
2122
+ } & {
2123
+ [k in K5]: R5;
2124
+ } & {
2125
+ [k in K6]: R6;
2126
+ } & {
2127
+ [k in K7]: R7;
2128
+ } & {
2129
+ [k in K8]: R8;
2130
+ } & {
2131
+ [k in K9]: R9;
2132
+ }) => R10);
2133
+ } & {
2134
+ [k in K11]?: R11 | ((ctx: C & {
2135
+ [k in K1]: R1;
2136
+ } & {
2137
+ [k in K2]: R2;
2138
+ } & {
2139
+ [k in K3]: R3;
2140
+ } & {
2141
+ [k in K4]: R4;
2142
+ } & {
2143
+ [k in K5]: R5;
2144
+ } & {
2145
+ [k in K6]: R6;
2146
+ } & {
2147
+ [k in K7]: R7;
2148
+ } & {
2149
+ [k in K8]: R8;
2150
+ } & {
2151
+ [k in K9]: R9;
2152
+ } & {
2153
+ [k in K10]: R10;
2154
+ }) => R11);
2155
+ } & {
2156
+ [k in K12]?: R12 | ((ctx: C & {
2157
+ [k in K1]: R1;
2158
+ } & {
2159
+ [k in K2]: R2;
2160
+ } & {
2161
+ [k in K3]: R3;
2162
+ } & {
2163
+ [k in K4]: R4;
2164
+ } & {
2165
+ [k in K5]: R5;
2166
+ } & {
2167
+ [k in K6]: R6;
2168
+ } & {
2169
+ [k in K7]: R7;
2170
+ } & {
2171
+ [k in K8]: R8;
2172
+ } & {
2173
+ [k in K9]: R9;
2174
+ } & {
2175
+ [k in K10]: R10;
2176
+ } & {
2177
+ [k in K11]: R11;
2178
+ }) => R12);
2179
+ } & {
2180
+ [k in K13]?: R13 | ((ctx: C & {
2181
+ [k in K1]: R1;
2182
+ } & {
2183
+ [k in K2]: R2;
2184
+ } & {
2185
+ [k in K3]: R3;
2186
+ } & {
2187
+ [k in K4]: R4;
2188
+ } & {
2189
+ [k in K5]: R5;
2190
+ } & {
2191
+ [k in K6]: R6;
2192
+ } & {
2193
+ [k in K7]: R7;
2194
+ } & {
2195
+ [k in K8]: R8;
2196
+ } & {
2197
+ [k in K9]: R9;
2198
+ } & {
2199
+ [k in K10]: R10;
2200
+ } & {
2201
+ [k in K11]: R11;
2202
+ } & {
2203
+ [k in K12]: R12;
2204
+ }) => R13);
2205
+ } & {
2206
+ [k in K14]?: R14 | ((ctx: C & {
2207
+ [k in K1]: R1;
2208
+ } & {
2209
+ [k in K2]: R2;
2210
+ } & {
2211
+ [k in K3]: R3;
2212
+ } & {
2213
+ [k in K4]: R4;
2214
+ } & {
2215
+ [k in K5]: R5;
2216
+ } & {
2217
+ [k in K6]: R6;
2218
+ } & {
2219
+ [k in K7]: R7;
2220
+ } & {
2221
+ [k in K8]: R8;
2222
+ } & {
2223
+ [k in K9]: R9;
2224
+ } & {
2225
+ [k in K10]: R10;
2226
+ } & {
2227
+ [k in K11]: R11;
2228
+ } & {
2229
+ [k in K12]: R12;
2230
+ } & {
2231
+ [k in K13]: R13;
2232
+ }) => R14);
2233
+ }, only?: (K1 | K2 | K3 | K4 | K5 | K6 | K7 | K8 | K9 | K10 | K11 | K12 | K13 | K14)[]) => Promise<C & {
2234
+ [k in K1]: R1;
2235
+ } & {
2236
+ [k in K2]: R2;
2237
+ } & {
2238
+ [k in K3]: R3;
2239
+ } & {
2240
+ [k in K4]: R4;
2241
+ } & {
2242
+ [k in K5]: R5;
2243
+ } & {
2244
+ [k in K6]: R6;
2245
+ } & {
2246
+ [k in K7]: R7;
2247
+ } & {
2248
+ [k in K8]: R8;
2249
+ } & {
2250
+ [k in K9]: R9;
2251
+ } & {
2252
+ [k in K10]: R10;
2253
+ } & {
2254
+ [k in K11]: R11;
2255
+ } & {
2256
+ [k in K12]: R12;
2257
+ } & {
2258
+ [k in K13]: R13;
2259
+ } & {
2260
+ [k in K14]: R14;
2261
+ }>;
2262
+ export declare function klubok<K1 extends string, K2 extends string, K3 extends string, K4 extends string, K5 extends string, K6 extends string, K7 extends string, K8 extends string, K9 extends string, K10 extends string, K11 extends string, K12 extends string, K13 extends string, K14 extends string, K15 extends string, C extends object, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15>(fn1: KeyedFunction<K1, (ctx: C) => Promise<R1> | R1>, fn2: KeyedFunction<K2, (ctx: C & {
2263
+ [k in K1]: R1;
2264
+ }) => Promise<R2> | R2>, fn3: KeyedFunction<K3, (ctx: C & {
2265
+ [k in K1]: R1;
2266
+ } & {
2267
+ [k in K2]: R2;
2268
+ }) => Promise<R3> | R3>, fn4: KeyedFunction<K4, (ctx: C & {
2269
+ [k in K1]: R1;
2270
+ } & {
2271
+ [k in K2]: R2;
2272
+ } & {
2273
+ [k in K3]: R3;
2274
+ }) => Promise<R4> | R4>, fn5: KeyedFunction<K5, (ctx: C & {
2275
+ [k in K1]: R1;
2276
+ } & {
2277
+ [k in K2]: R2;
2278
+ } & {
2279
+ [k in K3]: R3;
2280
+ } & {
2281
+ [k in K4]: R4;
2282
+ }) => Promise<R5> | R5>, fn6: KeyedFunction<K6, (ctx: C & {
2283
+ [k in K1]: R1;
2284
+ } & {
2285
+ [k in K2]: R2;
2286
+ } & {
2287
+ [k in K3]: R3;
2288
+ } & {
2289
+ [k in K4]: R4;
2290
+ } & {
2291
+ [k in K5]: R5;
2292
+ }) => Promise<R6> | R6>, fn7: KeyedFunction<K7, (ctx: C & {
2293
+ [k in K1]: R1;
2294
+ } & {
2295
+ [k in K2]: R2;
2296
+ } & {
2297
+ [k in K3]: R3;
2298
+ } & {
2299
+ [k in K4]: R4;
2300
+ } & {
2301
+ [k in K5]: R5;
2302
+ } & {
2303
+ [k in K6]: R6;
2304
+ }) => Promise<R7> | R7>, fn8: KeyedFunction<K8, (ctx: C & {
2305
+ [k in K1]: R1;
2306
+ } & {
2307
+ [k in K2]: R2;
2308
+ } & {
2309
+ [k in K3]: R3;
2310
+ } & {
2311
+ [k in K4]: R4;
2312
+ } & {
2313
+ [k in K5]: R5;
2314
+ } & {
2315
+ [k in K6]: R6;
2316
+ } & {
2317
+ [k in K7]: R7;
2318
+ }) => Promise<R8> | R8>, fn9: KeyedFunction<K9, (ctx: C & {
2319
+ [k in K1]: R1;
2320
+ } & {
2321
+ [k in K2]: R2;
2322
+ } & {
2323
+ [k in K3]: R3;
2324
+ } & {
2325
+ [k in K4]: R4;
2326
+ } & {
2327
+ [k in K5]: R5;
2328
+ } & {
2329
+ [k in K6]: R6;
2330
+ } & {
2331
+ [k in K7]: R7;
2332
+ } & {
2333
+ [k in K8]: R8;
2334
+ }) => Promise<R9> | R9>, fn10: KeyedFunction<K10, (ctx: C & {
2335
+ [k in K1]: R1;
2336
+ } & {
2337
+ [k in K2]: R2;
2338
+ } & {
2339
+ [k in K3]: R3;
2340
+ } & {
2341
+ [k in K4]: R4;
2342
+ } & {
2343
+ [k in K5]: R5;
2344
+ } & {
2345
+ [k in K6]: R6;
2346
+ } & {
2347
+ [k in K7]: R7;
2348
+ } & {
2349
+ [k in K8]: R8;
2350
+ } & {
2351
+ [k in K9]: R9;
2352
+ }) => Promise<R10> | R10>, fn11: KeyedFunction<K11, (ctx: C & {
2353
+ [k in K1]: R1;
2354
+ } & {
2355
+ [k in K2]: R2;
2356
+ } & {
2357
+ [k in K3]: R3;
2358
+ } & {
2359
+ [k in K4]: R4;
2360
+ } & {
2361
+ [k in K5]: R5;
2362
+ } & {
2363
+ [k in K6]: R6;
2364
+ } & {
2365
+ [k in K7]: R7;
2366
+ } & {
2367
+ [k in K8]: R8;
2368
+ } & {
2369
+ [k in K9]: R9;
2370
+ } & {
2371
+ [k in K10]: R10;
2372
+ }) => Promise<R11> | R11>, fn12: KeyedFunction<K12, (ctx: C & {
2373
+ [k in K1]: R1;
2374
+ } & {
2375
+ [k in K2]: R2;
2376
+ } & {
2377
+ [k in K3]: R3;
2378
+ } & {
2379
+ [k in K4]: R4;
2380
+ } & {
2381
+ [k in K5]: R5;
2382
+ } & {
2383
+ [k in K6]: R6;
2384
+ } & {
2385
+ [k in K7]: R7;
2386
+ } & {
2387
+ [k in K8]: R8;
2388
+ } & {
2389
+ [k in K9]: R9;
2390
+ } & {
2391
+ [k in K10]: R10;
2392
+ } & {
2393
+ [k in K11]: R11;
2394
+ }) => Promise<R12> | R12>, fn13: KeyedFunction<K13, (ctx: C & {
2395
+ [k in K1]: R1;
2396
+ } & {
2397
+ [k in K2]: R2;
2398
+ } & {
2399
+ [k in K3]: R3;
2400
+ } & {
2401
+ [k in K4]: R4;
2402
+ } & {
2403
+ [k in K5]: R5;
2404
+ } & {
2405
+ [k in K6]: R6;
2406
+ } & {
2407
+ [k in K7]: R7;
2408
+ } & {
2409
+ [k in K8]: R8;
2410
+ } & {
2411
+ [k in K9]: R9;
2412
+ } & {
2413
+ [k in K10]: R10;
2414
+ } & {
2415
+ [k in K11]: R11;
2416
+ } & {
2417
+ [k in K12]: R12;
2418
+ }) => Promise<R13> | R13>, fn14: KeyedFunction<K14, (ctx: C & {
2419
+ [k in K1]: R1;
2420
+ } & {
2421
+ [k in K2]: R2;
2422
+ } & {
2423
+ [k in K3]: R3;
2424
+ } & {
2425
+ [k in K4]: R4;
2426
+ } & {
2427
+ [k in K5]: R5;
2428
+ } & {
2429
+ [k in K6]: R6;
2430
+ } & {
2431
+ [k in K7]: R7;
2432
+ } & {
2433
+ [k in K8]: R8;
2434
+ } & {
2435
+ [k in K9]: R9;
2436
+ } & {
2437
+ [k in K10]: R10;
2438
+ } & {
2439
+ [k in K11]: R11;
2440
+ } & {
2441
+ [k in K12]: R12;
2442
+ } & {
2443
+ [k in K13]: R13;
2444
+ }) => Promise<R14> | R14>, fn15: KeyedFunction<K15, (ctx: C & {
2445
+ [k in K1]: R1;
2446
+ } & {
2447
+ [k in K2]: R2;
2448
+ } & {
2449
+ [k in K3]: R3;
2450
+ } & {
2451
+ [k in K4]: R4;
2452
+ } & {
2453
+ [k in K5]: R5;
2454
+ } & {
2455
+ [k in K6]: R6;
2456
+ } & {
2457
+ [k in K7]: R7;
2458
+ } & {
2459
+ [k in K8]: R8;
2460
+ } & {
2461
+ [k in K9]: R9;
2462
+ } & {
2463
+ [k in K10]: R10;
2464
+ } & {
2465
+ [k in K11]: R11;
2466
+ } & {
2467
+ [k in K12]: R12;
2468
+ } & {
2469
+ [k in K13]: R13;
2470
+ } & {
2471
+ [k in K14]: R14;
2472
+ }) => Promise<R15> | R15>): (ctx: C, mock?: {
2473
+ [k in K1]?: R1 | ((ctx: C) => R1);
2474
+ } & {
2475
+ [k in K2]?: R2 | ((ctx: C & {
2476
+ [k in K1]: R1;
2477
+ }) => R2);
2478
+ } & {
2479
+ [k in K3]?: R3 | ((ctx: C & {
2480
+ [k in K1]: R1;
2481
+ } & {
2482
+ [k in K2]: R2;
2483
+ }) => R3);
2484
+ } & {
2485
+ [k in K4]?: R4 | ((ctx: C & {
2486
+ [k in K1]: R1;
2487
+ } & {
2488
+ [k in K2]: R2;
2489
+ } & {
2490
+ [k in K3]: R3;
2491
+ }) => R4);
2492
+ } & {
2493
+ [k in K5]?: R5 | ((ctx: C & {
2494
+ [k in K1]: R1;
2495
+ } & {
2496
+ [k in K2]: R2;
2497
+ } & {
2498
+ [k in K3]: R3;
2499
+ } & {
2500
+ [k in K4]: R4;
2501
+ }) => R5);
2502
+ } & {
2503
+ [k in K6]?: R6 | ((ctx: C & {
2504
+ [k in K1]: R1;
2505
+ } & {
2506
+ [k in K2]: R2;
2507
+ } & {
2508
+ [k in K3]: R3;
2509
+ } & {
2510
+ [k in K4]: R4;
2511
+ } & {
2512
+ [k in K5]: R5;
2513
+ }) => R6);
2514
+ } & {
2515
+ [k in K7]?: R7 | ((ctx: C & {
2516
+ [k in K1]: R1;
2517
+ } & {
2518
+ [k in K2]: R2;
2519
+ } & {
2520
+ [k in K3]: R3;
2521
+ } & {
2522
+ [k in K4]: R4;
2523
+ } & {
2524
+ [k in K5]: R5;
2525
+ } & {
2526
+ [k in K6]: R6;
2527
+ }) => R7);
2528
+ } & {
2529
+ [k in K8]?: R8 | ((ctx: C & {
2530
+ [k in K1]: R1;
2531
+ } & {
2532
+ [k in K2]: R2;
2533
+ } & {
2534
+ [k in K3]: R3;
2535
+ } & {
2536
+ [k in K4]: R4;
2537
+ } & {
2538
+ [k in K5]: R5;
2539
+ } & {
2540
+ [k in K6]: R6;
2541
+ } & {
2542
+ [k in K7]: R7;
2543
+ }) => R8);
2544
+ } & {
2545
+ [k in K9]?: R9 | ((ctx: C & {
2546
+ [k in K1]: R1;
2547
+ } & {
2548
+ [k in K2]: R2;
2549
+ } & {
2550
+ [k in K3]: R3;
2551
+ } & {
2552
+ [k in K4]: R4;
2553
+ } & {
2554
+ [k in K5]: R5;
2555
+ } & {
2556
+ [k in K6]: R6;
2557
+ } & {
2558
+ [k in K7]: R7;
2559
+ } & {
2560
+ [k in K8]: R8;
2561
+ }) => R9);
2562
+ } & {
2563
+ [k in K10]?: R10 | ((ctx: C & {
2564
+ [k in K1]: R1;
2565
+ } & {
2566
+ [k in K2]: R2;
2567
+ } & {
2568
+ [k in K3]: R3;
2569
+ } & {
2570
+ [k in K4]: R4;
2571
+ } & {
2572
+ [k in K5]: R5;
2573
+ } & {
2574
+ [k in K6]: R6;
2575
+ } & {
2576
+ [k in K7]: R7;
2577
+ } & {
2578
+ [k in K8]: R8;
2579
+ } & {
2580
+ [k in K9]: R9;
2581
+ }) => R10);
2582
+ } & {
2583
+ [k in K11]?: R11 | ((ctx: C & {
2584
+ [k in K1]: R1;
2585
+ } & {
2586
+ [k in K2]: R2;
2587
+ } & {
2588
+ [k in K3]: R3;
2589
+ } & {
2590
+ [k in K4]: R4;
2591
+ } & {
2592
+ [k in K5]: R5;
2593
+ } & {
2594
+ [k in K6]: R6;
2595
+ } & {
2596
+ [k in K7]: R7;
2597
+ } & {
2598
+ [k in K8]: R8;
2599
+ } & {
2600
+ [k in K9]: R9;
2601
+ } & {
2602
+ [k in K10]: R10;
2603
+ }) => R11);
2604
+ } & {
2605
+ [k in K12]?: R12 | ((ctx: C & {
2606
+ [k in K1]: R1;
2607
+ } & {
2608
+ [k in K2]: R2;
2609
+ } & {
2610
+ [k in K3]: R3;
2611
+ } & {
2612
+ [k in K4]: R4;
2613
+ } & {
2614
+ [k in K5]: R5;
2615
+ } & {
2616
+ [k in K6]: R6;
2617
+ } & {
2618
+ [k in K7]: R7;
2619
+ } & {
2620
+ [k in K8]: R8;
2621
+ } & {
2622
+ [k in K9]: R9;
2623
+ } & {
2624
+ [k in K10]: R10;
2625
+ } & {
2626
+ [k in K11]: R11;
2627
+ }) => R12);
2628
+ } & {
2629
+ [k in K13]?: R13 | ((ctx: C & {
2630
+ [k in K1]: R1;
2631
+ } & {
2632
+ [k in K2]: R2;
2633
+ } & {
2634
+ [k in K3]: R3;
2635
+ } & {
2636
+ [k in K4]: R4;
2637
+ } & {
2638
+ [k in K5]: R5;
2639
+ } & {
2640
+ [k in K6]: R6;
2641
+ } & {
2642
+ [k in K7]: R7;
2643
+ } & {
2644
+ [k in K8]: R8;
2645
+ } & {
2646
+ [k in K9]: R9;
2647
+ } & {
2648
+ [k in K10]: R10;
2649
+ } & {
2650
+ [k in K11]: R11;
2651
+ } & {
2652
+ [k in K12]: R12;
2653
+ }) => R13);
2654
+ } & {
2655
+ [k in K14]?: R14 | ((ctx: C & {
2656
+ [k in K1]: R1;
2657
+ } & {
2658
+ [k in K2]: R2;
2659
+ } & {
2660
+ [k in K3]: R3;
2661
+ } & {
2662
+ [k in K4]: R4;
2663
+ } & {
2664
+ [k in K5]: R5;
2665
+ } & {
2666
+ [k in K6]: R6;
2667
+ } & {
2668
+ [k in K7]: R7;
2669
+ } & {
2670
+ [k in K8]: R8;
2671
+ } & {
2672
+ [k in K9]: R9;
2673
+ } & {
2674
+ [k in K10]: R10;
2675
+ } & {
2676
+ [k in K11]: R11;
2677
+ } & {
2678
+ [k in K12]: R12;
2679
+ } & {
2680
+ [k in K13]: R13;
2681
+ }) => R14);
2682
+ } & {
2683
+ [k in K15]?: R15 | ((ctx: C & {
2684
+ [k in K1]: R1;
2685
+ } & {
2686
+ [k in K2]: R2;
2687
+ } & {
2688
+ [k in K3]: R3;
2689
+ } & {
2690
+ [k in K4]: R4;
2691
+ } & {
2692
+ [k in K5]: R5;
2693
+ } & {
2694
+ [k in K6]: R6;
2695
+ } & {
2696
+ [k in K7]: R7;
2697
+ } & {
2698
+ [k in K8]: R8;
2699
+ } & {
2700
+ [k in K9]: R9;
2701
+ } & {
2702
+ [k in K10]: R10;
2703
+ } & {
2704
+ [k in K11]: R11;
2705
+ } & {
2706
+ [k in K12]: R12;
2707
+ } & {
2708
+ [k in K13]: R13;
2709
+ } & {
2710
+ [k in K14]: R14;
2711
+ }) => R15);
2712
+ }, only?: (K1 | K2 | K3 | K4 | K5 | K6 | K7 | K8 | K9 | K10 | K11 | K12 | K13 | K14 | K15)[]) => Promise<C & {
2713
+ [k in K1]: R1;
2714
+ } & {
2715
+ [k in K2]: R2;
2716
+ } & {
2717
+ [k in K3]: R3;
2718
+ } & {
2719
+ [k in K4]: R4;
2720
+ } & {
2721
+ [k in K5]: R5;
2722
+ } & {
2723
+ [k in K6]: R6;
2724
+ } & {
2725
+ [k in K7]: R7;
2726
+ } & {
2727
+ [k in K8]: R8;
2728
+ } & {
2729
+ [k in K9]: R9;
2730
+ } & {
2731
+ [k in K10]: R10;
2732
+ } & {
2733
+ [k in K11]: R11;
2734
+ } & {
2735
+ [k in K12]: R12;
2736
+ } & {
2737
+ [k in K13]: R13;
2738
+ } & {
2739
+ [k in K14]: R14;
2740
+ } & {
2741
+ [k in K15]: R15;
2742
+ }>;
898
2743
  export {};