@fedify/fedify 0.11.0-dev.240 → 0.11.0-dev.242

Sign up to get free protection for your applications and to get access to all the features.
@@ -1163,6 +1163,14 @@ export declare class Activity extends Object {
1163
1163
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1164
1164
  object?: Object | URL | null;
1165
1165
  objects?: (Object | URL)[];
1166
+ target?: Object | URL | null;
1167
+ targets?: (Object | URL)[];
1168
+ result?: Object | URL | null;
1169
+ results?: (Object | URL)[];
1170
+ origin?: Object | URL | null;
1171
+ origins?: (Object | URL)[];
1172
+ instrument?: Object | URL | null;
1173
+ instruments?: (Object | URL)[];
1166
1174
  }, { documentLoader, contextLoader, }?: {
1167
1175
  documentLoader?: DocumentLoader;
1168
1176
  contextLoader?: DocumentLoader;
@@ -1223,6 +1231,14 @@ export declare class Activity extends Object {
1223
1231
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1224
1232
  object?: Object | URL | null;
1225
1233
  objects?: (Object | URL)[];
1234
+ target?: Object | URL | null;
1235
+ targets?: (Object | URL)[];
1236
+ result?: Object | URL | null;
1237
+ results?: (Object | URL)[];
1238
+ origin?: Object | URL | null;
1239
+ origins?: (Object | URL)[];
1240
+ instrument?: Object | URL | null;
1241
+ instruments?: (Object | URL)[];
1226
1242
  }, options?: {
1227
1243
  documentLoader?: DocumentLoader;
1228
1244
  contextLoader?: DocumentLoader;
@@ -1287,6 +1303,132 @@ export declare class Activity extends Object {
1287
1303
  contextLoader?: DocumentLoader;
1288
1304
  suppressError?: boolean;
1289
1305
  }): AsyncIterable<Object>;
1306
+ /**
1307
+ * Similar to
1308
+ * {@link Activity.getTarget},
1309
+ * but returns its `@id` URL instead of the object itself.
1310
+ */
1311
+ get targetId(): URL | null;
1312
+ /** Describes the indirect object, or target, of the activity. The precise
1313
+ * meaning of the target is largely dependent on the type of action being
1314
+ * described but will often be the object of the English preposition "to".
1315
+ * For instance, in the activity "John added a movie to his wishlist",
1316
+ * the target of the activity is John's wishlist. An activity can have more
1317
+ * than one target.
1318
+ */
1319
+ getTarget(options?: {
1320
+ documentLoader?: DocumentLoader;
1321
+ contextLoader?: DocumentLoader;
1322
+ suppressError?: boolean;
1323
+ }): Promise<Object | null>;
1324
+ /**
1325
+ * Similar to
1326
+ * {@link Activity.getTargets},
1327
+ * but returns their `@id`s instead of the objects themselves.
1328
+ */
1329
+ get targetIds(): URL[];
1330
+ /** Describes the indirect object, or target, of the activity. The precise
1331
+ * meaning of the target is largely dependent on the type of action being
1332
+ * described but will often be the object of the English preposition "to".
1333
+ * For instance, in the activity "John added a movie to his wishlist",
1334
+ * the target of the activity is John's wishlist. An activity can have more
1335
+ * than one target.
1336
+ */
1337
+ getTargets(options?: {
1338
+ documentLoader?: DocumentLoader;
1339
+ contextLoader?: DocumentLoader;
1340
+ suppressError?: boolean;
1341
+ }): AsyncIterable<Object>;
1342
+ /**
1343
+ * Similar to
1344
+ * {@link Activity.getResult},
1345
+ * but returns its `@id` URL instead of the object itself.
1346
+ */
1347
+ get resultId(): URL | null;
1348
+ /** Describes the result of the activity. For instance, if a particular action
1349
+ * results in the creation of a new resource, the result property can be used
1350
+ * to describe that new resource.
1351
+ */
1352
+ getResult(options?: {
1353
+ documentLoader?: DocumentLoader;
1354
+ contextLoader?: DocumentLoader;
1355
+ suppressError?: boolean;
1356
+ }): Promise<Object | null>;
1357
+ /**
1358
+ * Similar to
1359
+ * {@link Activity.getResults},
1360
+ * but returns their `@id`s instead of the objects themselves.
1361
+ */
1362
+ get resultIds(): URL[];
1363
+ /** Describes the result of the activity. For instance, if a particular action
1364
+ * results in the creation of a new resource, the result property can be used
1365
+ * to describe that new resource.
1366
+ */
1367
+ getResults(options?: {
1368
+ documentLoader?: DocumentLoader;
1369
+ contextLoader?: DocumentLoader;
1370
+ suppressError?: boolean;
1371
+ }): AsyncIterable<Object>;
1372
+ /**
1373
+ * Similar to
1374
+ * {@link Activity.getOrigin},
1375
+ * but returns its `@id` URL instead of the object itself.
1376
+ */
1377
+ get originId(): URL | null;
1378
+ /** Describes an indirect object of the activity from which the activity is
1379
+ * directed. The precise meaning of the origin is the object of the English
1380
+ * preposition "from". For instance, in the activity "John moved an item to
1381
+ * List B from List A", the origin of the activity is "List A".
1382
+ */
1383
+ getOrigin(options?: {
1384
+ documentLoader?: DocumentLoader;
1385
+ contextLoader?: DocumentLoader;
1386
+ suppressError?: boolean;
1387
+ }): Promise<Object | null>;
1388
+ /**
1389
+ * Similar to
1390
+ * {@link Activity.getOrigins},
1391
+ * but returns their `@id`s instead of the objects themselves.
1392
+ */
1393
+ get originIds(): URL[];
1394
+ /** Describes an indirect object of the activity from which the activity is
1395
+ * directed. The precise meaning of the origin is the object of the English
1396
+ * preposition "from". For instance, in the activity "John moved an item to
1397
+ * List B from List A", the origin of the activity is "List A".
1398
+ */
1399
+ getOrigins(options?: {
1400
+ documentLoader?: DocumentLoader;
1401
+ contextLoader?: DocumentLoader;
1402
+ suppressError?: boolean;
1403
+ }): AsyncIterable<Object>;
1404
+ /**
1405
+ * Similar to
1406
+ * {@link Activity.getInstrument},
1407
+ * but returns its `@id` URL instead of the object itself.
1408
+ */
1409
+ get instrumentId(): URL | null;
1410
+ /** Identifies one or more objects used (or to be used) in the completion of
1411
+ * an {@link Activity}.
1412
+ */
1413
+ getInstrument(options?: {
1414
+ documentLoader?: DocumentLoader;
1415
+ contextLoader?: DocumentLoader;
1416
+ suppressError?: boolean;
1417
+ }): Promise<Object | null>;
1418
+ /**
1419
+ * Similar to
1420
+ * {@link Activity.getInstruments},
1421
+ * but returns their `@id`s instead of the objects themselves.
1422
+ */
1423
+ get instrumentIds(): URL[];
1424
+ /** Identifies one or more objects used (or to be used) in the completion of
1425
+ * an {@link Activity}.
1426
+ */
1427
+ getInstruments(options?: {
1428
+ documentLoader?: DocumentLoader;
1429
+ contextLoader?: DocumentLoader;
1430
+ suppressError?: boolean;
1431
+ }): AsyncIterable<Object>;
1290
1432
  /**
1291
1433
  * Converts this object to a JSON-LD structure.
1292
1434
  * @returns The JSON-LD representation of this object.
@@ -1372,6 +1514,14 @@ export declare class Accept extends Activity {
1372
1514
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1373
1515
  object?: Object | URL | null;
1374
1516
  objects?: (Object | URL)[];
1517
+ target?: Object | URL | null;
1518
+ targets?: (Object | URL)[];
1519
+ result?: Object | URL | null;
1520
+ results?: (Object | URL)[];
1521
+ origin?: Object | URL | null;
1522
+ origins?: (Object | URL)[];
1523
+ instrument?: Object | URL | null;
1524
+ instruments?: (Object | URL)[];
1375
1525
  }, { documentLoader, contextLoader, }?: {
1376
1526
  documentLoader?: DocumentLoader;
1377
1527
  contextLoader?: DocumentLoader;
@@ -1432,6 +1582,14 @@ export declare class Accept extends Activity {
1432
1582
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1433
1583
  object?: Object | URL | null;
1434
1584
  objects?: (Object | URL)[];
1585
+ target?: Object | URL | null;
1586
+ targets?: (Object | URL)[];
1587
+ result?: Object | URL | null;
1588
+ results?: (Object | URL)[];
1589
+ origin?: Object | URL | null;
1590
+ origins?: (Object | URL)[];
1591
+ instrument?: Object | URL | null;
1592
+ instruments?: (Object | URL)[];
1435
1593
  }, options?: {
1436
1594
  documentLoader?: DocumentLoader;
1437
1595
  contextLoader?: DocumentLoader;
@@ -1522,6 +1680,14 @@ export declare class Add extends Activity {
1522
1680
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1523
1681
  object?: Object | URL | null;
1524
1682
  objects?: (Object | URL)[];
1683
+ target?: Object | URL | null;
1684
+ targets?: (Object | URL)[];
1685
+ result?: Object | URL | null;
1686
+ results?: (Object | URL)[];
1687
+ origin?: Object | URL | null;
1688
+ origins?: (Object | URL)[];
1689
+ instrument?: Object | URL | null;
1690
+ instruments?: (Object | URL)[];
1525
1691
  }, { documentLoader, contextLoader, }?: {
1526
1692
  documentLoader?: DocumentLoader;
1527
1693
  contextLoader?: DocumentLoader;
@@ -1582,6 +1748,14 @@ export declare class Add extends Activity {
1582
1748
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1583
1749
  object?: Object | URL | null;
1584
1750
  objects?: (Object | URL)[];
1751
+ target?: Object | URL | null;
1752
+ targets?: (Object | URL)[];
1753
+ result?: Object | URL | null;
1754
+ results?: (Object | URL)[];
1755
+ origin?: Object | URL | null;
1756
+ origins?: (Object | URL)[];
1757
+ instrument?: Object | URL | null;
1758
+ instruments?: (Object | URL)[];
1585
1759
  }, options?: {
1586
1760
  documentLoader?: DocumentLoader;
1587
1761
  contextLoader?: DocumentLoader;
@@ -1671,6 +1845,14 @@ export declare class Announce extends Activity {
1671
1845
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1672
1846
  object?: Object | URL | null;
1673
1847
  objects?: (Object | URL)[];
1848
+ target?: Object | URL | null;
1849
+ targets?: (Object | URL)[];
1850
+ result?: Object | URL | null;
1851
+ results?: (Object | URL)[];
1852
+ origin?: Object | URL | null;
1853
+ origins?: (Object | URL)[];
1854
+ instrument?: Object | URL | null;
1855
+ instruments?: (Object | URL)[];
1674
1856
  }, { documentLoader, contextLoader, }?: {
1675
1857
  documentLoader?: DocumentLoader;
1676
1858
  contextLoader?: DocumentLoader;
@@ -1731,6 +1913,14 @@ export declare class Announce extends Activity {
1731
1913
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1732
1914
  object?: Object | URL | null;
1733
1915
  objects?: (Object | URL)[];
1916
+ target?: Object | URL | null;
1917
+ targets?: (Object | URL)[];
1918
+ result?: Object | URL | null;
1919
+ results?: (Object | URL)[];
1920
+ origin?: Object | URL | null;
1921
+ origins?: (Object | URL)[];
1922
+ instrument?: Object | URL | null;
1923
+ instruments?: (Object | URL)[];
1734
1924
  }, options?: {
1735
1925
  documentLoader?: DocumentLoader;
1736
1926
  contextLoader?: DocumentLoader;
@@ -1827,6 +2017,7 @@ export declare class Application extends Object {
1827
2017
  following?: Collection | URL | null;
1828
2018
  followers?: Collection | URL | null;
1829
2019
  liked?: Collection | URL | null;
2020
+ featured?: Collection | URL | null;
1830
2021
  streams?: (Collection | URL)[];
1831
2022
  endpoints?: Endpoints | null;
1832
2023
  discoverable?: boolean | null;
@@ -1901,6 +2092,7 @@ export declare class Application extends Object {
1901
2092
  following?: Collection | URL | null;
1902
2093
  followers?: Collection | URL | null;
1903
2094
  liked?: Collection | URL | null;
2095
+ featured?: Collection | URL | null;
1904
2096
  streams?: (Collection | URL)[];
1905
2097
  endpoints?: Endpoints | null;
1906
2098
  discoverable?: boolean | null;
@@ -2087,6 +2279,22 @@ export declare class Application extends Object {
2087
2279
  contextLoader?: DocumentLoader;
2088
2280
  suppressError?: boolean;
2089
2281
  }): Promise<Collection | null>;
2282
+ /**
2283
+ * Similar to
2284
+ * {@link Application.getFeatured},
2285
+ * but returns its `@id` URL instead of the object itself.
2286
+ */
2287
+ get featuredId(): URL | null;
2288
+ /** What is known in Mastodon as "pinned statuses", or statuses that are always
2289
+ * featured at the top of people's profiles, is implemented using an extra
2290
+ * property `featured` on the actor object that points to a {@link Collection}
2291
+ * of objects.
2292
+ */
2293
+ getFeatured(options?: {
2294
+ documentLoader?: DocumentLoader;
2295
+ contextLoader?: DocumentLoader;
2296
+ suppressError?: boolean;
2297
+ }): Promise<Collection | null>;
2090
2298
  /**
2091
2299
  * Similar to
2092
2300
  * {@link Application.getStreams},
@@ -2207,6 +2415,14 @@ export declare class IntransitiveActivity extends Activity {
2207
2415
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2208
2416
  object?: Object | URL | null;
2209
2417
  objects?: (Object | URL)[];
2418
+ target?: Object | URL | null;
2419
+ targets?: (Object | URL)[];
2420
+ result?: Object | URL | null;
2421
+ results?: (Object | URL)[];
2422
+ origin?: Object | URL | null;
2423
+ origins?: (Object | URL)[];
2424
+ instrument?: Object | URL | null;
2425
+ instruments?: (Object | URL)[];
2210
2426
  }, { documentLoader, contextLoader, }?: {
2211
2427
  documentLoader?: DocumentLoader;
2212
2428
  contextLoader?: DocumentLoader;
@@ -2267,6 +2483,14 @@ export declare class IntransitiveActivity extends Activity {
2267
2483
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2268
2484
  object?: Object | URL | null;
2269
2485
  objects?: (Object | URL)[];
2486
+ target?: Object | URL | null;
2487
+ targets?: (Object | URL)[];
2488
+ result?: Object | URL | null;
2489
+ results?: (Object | URL)[];
2490
+ origin?: Object | URL | null;
2491
+ origins?: (Object | URL)[];
2492
+ instrument?: Object | URL | null;
2493
+ instruments?: (Object | URL)[];
2270
2494
  }, options?: {
2271
2495
  documentLoader?: DocumentLoader;
2272
2496
  contextLoader?: DocumentLoader;
@@ -2356,6 +2580,14 @@ export declare class Arrive extends IntransitiveActivity {
2356
2580
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2357
2581
  object?: Object | URL | null;
2358
2582
  objects?: (Object | URL)[];
2583
+ target?: Object | URL | null;
2584
+ targets?: (Object | URL)[];
2585
+ result?: Object | URL | null;
2586
+ results?: (Object | URL)[];
2587
+ origin?: Object | URL | null;
2588
+ origins?: (Object | URL)[];
2589
+ instrument?: Object | URL | null;
2590
+ instruments?: (Object | URL)[];
2359
2591
  }, { documentLoader, contextLoader, }?: {
2360
2592
  documentLoader?: DocumentLoader;
2361
2593
  contextLoader?: DocumentLoader;
@@ -2416,6 +2648,14 @@ export declare class Arrive extends IntransitiveActivity {
2416
2648
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2417
2649
  object?: Object | URL | null;
2418
2650
  objects?: (Object | URL)[];
2651
+ target?: Object | URL | null;
2652
+ targets?: (Object | URL)[];
2653
+ result?: Object | URL | null;
2654
+ results?: (Object | URL)[];
2655
+ origin?: Object | URL | null;
2656
+ origins?: (Object | URL)[];
2657
+ instrument?: Object | URL | null;
2658
+ instruments?: (Object | URL)[];
2419
2659
  }, options?: {
2420
2660
  documentLoader?: DocumentLoader;
2421
2661
  contextLoader?: DocumentLoader;
@@ -2938,6 +3178,14 @@ export declare class Ignore extends Activity {
2938
3178
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2939
3179
  object?: Object | URL | null;
2940
3180
  objects?: (Object | URL)[];
3181
+ target?: Object | URL | null;
3182
+ targets?: (Object | URL)[];
3183
+ result?: Object | URL | null;
3184
+ results?: (Object | URL)[];
3185
+ origin?: Object | URL | null;
3186
+ origins?: (Object | URL)[];
3187
+ instrument?: Object | URL | null;
3188
+ instruments?: (Object | URL)[];
2941
3189
  }, { documentLoader, contextLoader, }?: {
2942
3190
  documentLoader?: DocumentLoader;
2943
3191
  contextLoader?: DocumentLoader;
@@ -2998,6 +3246,14 @@ export declare class Ignore extends Activity {
2998
3246
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2999
3247
  object?: Object | URL | null;
3000
3248
  objects?: (Object | URL)[];
3249
+ target?: Object | URL | null;
3250
+ targets?: (Object | URL)[];
3251
+ result?: Object | URL | null;
3252
+ results?: (Object | URL)[];
3253
+ origin?: Object | URL | null;
3254
+ origins?: (Object | URL)[];
3255
+ instrument?: Object | URL | null;
3256
+ instruments?: (Object | URL)[];
3001
3257
  }, options?: {
3002
3258
  documentLoader?: DocumentLoader;
3003
3259
  contextLoader?: DocumentLoader;
@@ -3088,6 +3344,14 @@ export declare class Block extends Ignore {
3088
3344
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3089
3345
  object?: Object | URL | null;
3090
3346
  objects?: (Object | URL)[];
3347
+ target?: Object | URL | null;
3348
+ targets?: (Object | URL)[];
3349
+ result?: Object | URL | null;
3350
+ results?: (Object | URL)[];
3351
+ origin?: Object | URL | null;
3352
+ origins?: (Object | URL)[];
3353
+ instrument?: Object | URL | null;
3354
+ instruments?: (Object | URL)[];
3091
3355
  }, { documentLoader, contextLoader, }?: {
3092
3356
  documentLoader?: DocumentLoader;
3093
3357
  contextLoader?: DocumentLoader;
@@ -3148,6 +3412,14 @@ export declare class Block extends Ignore {
3148
3412
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3149
3413
  object?: Object | URL | null;
3150
3414
  objects?: (Object | URL)[];
3415
+ target?: Object | URL | null;
3416
+ targets?: (Object | URL)[];
3417
+ result?: Object | URL | null;
3418
+ results?: (Object | URL)[];
3419
+ origin?: Object | URL | null;
3420
+ origins?: (Object | URL)[];
3421
+ instrument?: Object | URL | null;
3422
+ instruments?: (Object | URL)[];
3151
3423
  }, options?: {
3152
3424
  documentLoader?: DocumentLoader;
3153
3425
  contextLoader?: DocumentLoader;
@@ -3237,10 +3509,10 @@ export declare class Collection extends Object {
3237
3509
  proof?: DataIntegrityProof | URL | null;
3238
3510
  proofs?: (DataIntegrityProof | URL)[];
3239
3511
  totalItems?: number | null;
3240
- current?: CollectionPage | Link | URL | null;
3241
- first?: CollectionPage | Link | URL | null;
3242
- last?: CollectionPage | Link | URL | null;
3243
- items?: (Object | Link | URL)[];
3512
+ current?: CollectionPage | URL | null;
3513
+ first?: CollectionPage | URL | null;
3514
+ last?: CollectionPage | URL | null;
3515
+ items?: (Object | URL)[];
3244
3516
  }, { documentLoader, contextLoader, }?: {
3245
3517
  documentLoader?: DocumentLoader;
3246
3518
  contextLoader?: DocumentLoader;
@@ -3298,10 +3570,10 @@ export declare class Collection extends Object {
3298
3570
  proof?: DataIntegrityProof | URL | null;
3299
3571
  proofs?: (DataIntegrityProof | URL)[];
3300
3572
  totalItems?: number | null;
3301
- current?: CollectionPage | Link | URL | null;
3302
- first?: CollectionPage | Link | URL | null;
3303
- last?: CollectionPage | Link | URL | null;
3304
- items?: (Object | Link | URL)[];
3573
+ current?: CollectionPage | URL | null;
3574
+ first?: CollectionPage | URL | null;
3575
+ last?: CollectionPage | URL | null;
3576
+ items?: (Object | URL)[];
3305
3577
  }, options?: {
3306
3578
  documentLoader?: DocumentLoader;
3307
3579
  contextLoader?: DocumentLoader;
@@ -3324,7 +3596,7 @@ export declare class Collection extends Object {
3324
3596
  documentLoader?: DocumentLoader;
3325
3597
  contextLoader?: DocumentLoader;
3326
3598
  suppressError?: boolean;
3327
- }): Promise<CollectionPage | Link | null>;
3599
+ }): Promise<CollectionPage | null>;
3328
3600
  /**
3329
3601
  * Similar to
3330
3602
  * {@link Collection.getFirst},
@@ -3338,7 +3610,7 @@ export declare class Collection extends Object {
3338
3610
  documentLoader?: DocumentLoader;
3339
3611
  contextLoader?: DocumentLoader;
3340
3612
  suppressError?: boolean;
3341
- }): Promise<CollectionPage | Link | null>;
3613
+ }): Promise<CollectionPage | null>;
3342
3614
  /**
3343
3615
  * Similar to
3344
3616
  * {@link Collection.getLast},
@@ -3352,7 +3624,7 @@ export declare class Collection extends Object {
3352
3624
  documentLoader?: DocumentLoader;
3353
3625
  contextLoader?: DocumentLoader;
3354
3626
  suppressError?: boolean;
3355
- }): Promise<CollectionPage | Link | null>;
3627
+ }): Promise<CollectionPage | null>;
3356
3628
  /**
3357
3629
  * Similar to
3358
3630
  * {@link Collection.getItems},
@@ -3366,7 +3638,7 @@ export declare class Collection extends Object {
3366
3638
  documentLoader?: DocumentLoader;
3367
3639
  contextLoader?: DocumentLoader;
3368
3640
  suppressError?: boolean;
3369
- }): AsyncIterable<Object | Link>;
3641
+ }): AsyncIterable<Object>;
3370
3642
  /**
3371
3643
  * Converts this object to a JSON-LD structure.
3372
3644
  * @returns The JSON-LD representation of this object.
@@ -3450,13 +3722,13 @@ export declare class CollectionPage extends Collection {
3450
3722
  proof?: DataIntegrityProof | URL | null;
3451
3723
  proofs?: (DataIntegrityProof | URL)[];
3452
3724
  totalItems?: number | null;
3453
- current?: CollectionPage | Link | URL | null;
3454
- first?: CollectionPage | Link | URL | null;
3455
- last?: CollectionPage | Link | URL | null;
3456
- items?: (Object | Link | URL)[];
3457
- partOf?: Link | Collection | URL | null;
3458
- next?: CollectionPage | Link | URL | null;
3459
- prev?: CollectionPage | Link | URL | null;
3725
+ current?: CollectionPage | URL | null;
3726
+ first?: CollectionPage | URL | null;
3727
+ last?: CollectionPage | URL | null;
3728
+ items?: (Object | URL)[];
3729
+ partOf?: Collection | URL | null;
3730
+ next?: CollectionPage | URL | null;
3731
+ prev?: CollectionPage | URL | null;
3460
3732
  }, { documentLoader, contextLoader, }?: {
3461
3733
  documentLoader?: DocumentLoader;
3462
3734
  contextLoader?: DocumentLoader;
@@ -3514,13 +3786,13 @@ export declare class CollectionPage extends Collection {
3514
3786
  proof?: DataIntegrityProof | URL | null;
3515
3787
  proofs?: (DataIntegrityProof | URL)[];
3516
3788
  totalItems?: number | null;
3517
- current?: CollectionPage | Link | URL | null;
3518
- first?: CollectionPage | Link | URL | null;
3519
- last?: CollectionPage | Link | URL | null;
3520
- items?: (Object | Link | URL)[];
3521
- partOf?: Link | Collection | URL | null;
3522
- next?: CollectionPage | Link | URL | null;
3523
- prev?: CollectionPage | Link | URL | null;
3789
+ current?: CollectionPage | URL | null;
3790
+ first?: CollectionPage | URL | null;
3791
+ last?: CollectionPage | URL | null;
3792
+ items?: (Object | URL)[];
3793
+ partOf?: Collection | URL | null;
3794
+ next?: CollectionPage | URL | null;
3795
+ prev?: CollectionPage | URL | null;
3524
3796
  }, options?: {
3525
3797
  documentLoader?: DocumentLoader;
3526
3798
  contextLoader?: DocumentLoader;
@@ -3538,7 +3810,7 @@ export declare class CollectionPage extends Collection {
3538
3810
  documentLoader?: DocumentLoader;
3539
3811
  contextLoader?: DocumentLoader;
3540
3812
  suppressError?: boolean;
3541
- }): Promise<Link | Collection | null>;
3813
+ }): Promise<Collection | null>;
3542
3814
  /**
3543
3815
  * Similar to
3544
3816
  * {@link CollectionPage.getNext},
@@ -3551,7 +3823,7 @@ export declare class CollectionPage extends Collection {
3551
3823
  documentLoader?: DocumentLoader;
3552
3824
  contextLoader?: DocumentLoader;
3553
3825
  suppressError?: boolean;
3554
- }): Promise<CollectionPage | Link | null>;
3826
+ }): Promise<CollectionPage | null>;
3555
3827
  /**
3556
3828
  * Similar to
3557
3829
  * {@link CollectionPage.getPrev},
@@ -3564,7 +3836,7 @@ export declare class CollectionPage extends Collection {
3564
3836
  documentLoader?: DocumentLoader;
3565
3837
  contextLoader?: DocumentLoader;
3566
3838
  suppressError?: boolean;
3567
- }): Promise<CollectionPage | Link | null>;
3839
+ }): Promise<CollectionPage | null>;
3568
3840
  /**
3569
3841
  * Converts this object to a JSON-LD structure.
3570
3842
  * @returns The JSON-LD representation of this object.
@@ -3648,6 +3920,14 @@ export declare class Create extends Activity {
3648
3920
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3649
3921
  object?: Object | URL | null;
3650
3922
  objects?: (Object | URL)[];
3923
+ target?: Object | URL | null;
3924
+ targets?: (Object | URL)[];
3925
+ result?: Object | URL | null;
3926
+ results?: (Object | URL)[];
3927
+ origin?: Object | URL | null;
3928
+ origins?: (Object | URL)[];
3929
+ instrument?: Object | URL | null;
3930
+ instruments?: (Object | URL)[];
3651
3931
  }, { documentLoader, contextLoader, }?: {
3652
3932
  documentLoader?: DocumentLoader;
3653
3933
  contextLoader?: DocumentLoader;
@@ -3708,6 +3988,14 @@ export declare class Create extends Activity {
3708
3988
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3709
3989
  object?: Object | URL | null;
3710
3990
  objects?: (Object | URL)[];
3991
+ target?: Object | URL | null;
3992
+ targets?: (Object | URL)[];
3993
+ result?: Object | URL | null;
3994
+ results?: (Object | URL)[];
3995
+ origin?: Object | URL | null;
3996
+ origins?: (Object | URL)[];
3997
+ instrument?: Object | URL | null;
3998
+ instruments?: (Object | URL)[];
3711
3999
  }, options?: {
3712
4000
  documentLoader?: DocumentLoader;
3713
4001
  contextLoader?: DocumentLoader;
@@ -3796,6 +4084,14 @@ export declare class Delete extends Activity {
3796
4084
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3797
4085
  object?: Object | URL | null;
3798
4086
  objects?: (Object | URL)[];
4087
+ target?: Object | URL | null;
4088
+ targets?: (Object | URL)[];
4089
+ result?: Object | URL | null;
4090
+ results?: (Object | URL)[];
4091
+ origin?: Object | URL | null;
4092
+ origins?: (Object | URL)[];
4093
+ instrument?: Object | URL | null;
4094
+ instruments?: (Object | URL)[];
3799
4095
  }, { documentLoader, contextLoader, }?: {
3800
4096
  documentLoader?: DocumentLoader;
3801
4097
  contextLoader?: DocumentLoader;
@@ -3856,6 +4152,14 @@ export declare class Delete extends Activity {
3856
4152
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3857
4153
  object?: Object | URL | null;
3858
4154
  objects?: (Object | URL)[];
4155
+ target?: Object | URL | null;
4156
+ targets?: (Object | URL)[];
4157
+ result?: Object | URL | null;
4158
+ results?: (Object | URL)[];
4159
+ origin?: Object | URL | null;
4160
+ origins?: (Object | URL)[];
4161
+ instrument?: Object | URL | null;
4162
+ instruments?: (Object | URL)[];
3859
4163
  }, options?: {
3860
4164
  documentLoader?: DocumentLoader;
3861
4165
  contextLoader?: DocumentLoader;
@@ -3943,6 +4247,14 @@ export declare class Dislike extends Activity {
3943
4247
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3944
4248
  object?: Object | URL | null;
3945
4249
  objects?: (Object | URL)[];
4250
+ target?: Object | URL | null;
4251
+ targets?: (Object | URL)[];
4252
+ result?: Object | URL | null;
4253
+ results?: (Object | URL)[];
4254
+ origin?: Object | URL | null;
4255
+ origins?: (Object | URL)[];
4256
+ instrument?: Object | URL | null;
4257
+ instruments?: (Object | URL)[];
3946
4258
  }, { documentLoader, contextLoader, }?: {
3947
4259
  documentLoader?: DocumentLoader;
3948
4260
  contextLoader?: DocumentLoader;
@@ -4003,6 +4315,14 @@ export declare class Dislike extends Activity {
4003
4315
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4004
4316
  object?: Object | URL | null;
4005
4317
  objects?: (Object | URL)[];
4318
+ target?: Object | URL | null;
4319
+ targets?: (Object | URL)[];
4320
+ result?: Object | URL | null;
4321
+ results?: (Object | URL)[];
4322
+ origin?: Object | URL | null;
4323
+ origins?: (Object | URL)[];
4324
+ instrument?: Object | URL | null;
4325
+ instruments?: (Object | URL)[];
4006
4326
  }, options?: {
4007
4327
  documentLoader?: DocumentLoader;
4008
4328
  contextLoader?: DocumentLoader;
@@ -4339,6 +4659,14 @@ export declare class Flag extends Activity {
4339
4659
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4340
4660
  object?: Object | URL | null;
4341
4661
  objects?: (Object | URL)[];
4662
+ target?: Object | URL | null;
4663
+ targets?: (Object | URL)[];
4664
+ result?: Object | URL | null;
4665
+ results?: (Object | URL)[];
4666
+ origin?: Object | URL | null;
4667
+ origins?: (Object | URL)[];
4668
+ instrument?: Object | URL | null;
4669
+ instruments?: (Object | URL)[];
4342
4670
  }, { documentLoader, contextLoader, }?: {
4343
4671
  documentLoader?: DocumentLoader;
4344
4672
  contextLoader?: DocumentLoader;
@@ -4399,6 +4727,14 @@ export declare class Flag extends Activity {
4399
4727
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4400
4728
  object?: Object | URL | null;
4401
4729
  objects?: (Object | URL)[];
4730
+ target?: Object | URL | null;
4731
+ targets?: (Object | URL)[];
4732
+ result?: Object | URL | null;
4733
+ results?: (Object | URL)[];
4734
+ origin?: Object | URL | null;
4735
+ origins?: (Object | URL)[];
4736
+ instrument?: Object | URL | null;
4737
+ instruments?: (Object | URL)[];
4402
4738
  }, options?: {
4403
4739
  documentLoader?: DocumentLoader;
4404
4740
  contextLoader?: DocumentLoader;
@@ -4489,6 +4825,14 @@ export declare class Follow extends Activity {
4489
4825
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4490
4826
  object?: Object | URL | null;
4491
4827
  objects?: (Object | URL)[];
4828
+ target?: Object | URL | null;
4829
+ targets?: (Object | URL)[];
4830
+ result?: Object | URL | null;
4831
+ results?: (Object | URL)[];
4832
+ origin?: Object | URL | null;
4833
+ origins?: (Object | URL)[];
4834
+ instrument?: Object | URL | null;
4835
+ instruments?: (Object | URL)[];
4492
4836
  }, { documentLoader, contextLoader, }?: {
4493
4837
  documentLoader?: DocumentLoader;
4494
4838
  contextLoader?: DocumentLoader;
@@ -4549,6 +4893,14 @@ export declare class Follow extends Activity {
4549
4893
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4550
4894
  object?: Object | URL | null;
4551
4895
  objects?: (Object | URL)[];
4896
+ target?: Object | URL | null;
4897
+ targets?: (Object | URL)[];
4898
+ result?: Object | URL | null;
4899
+ results?: (Object | URL)[];
4900
+ origin?: Object | URL | null;
4901
+ origins?: (Object | URL)[];
4902
+ instrument?: Object | URL | null;
4903
+ instruments?: (Object | URL)[];
4552
4904
  }, options?: {
4553
4905
  documentLoader?: DocumentLoader;
4554
4906
  contextLoader?: DocumentLoader;
@@ -4645,6 +4997,7 @@ export declare class Group extends Object {
4645
4997
  following?: Collection | URL | null;
4646
4998
  followers?: Collection | URL | null;
4647
4999
  liked?: Collection | URL | null;
5000
+ featured?: Collection | URL | null;
4648
5001
  streams?: (Collection | URL)[];
4649
5002
  endpoints?: Endpoints | null;
4650
5003
  discoverable?: boolean | null;
@@ -4719,6 +5072,7 @@ export declare class Group extends Object {
4719
5072
  following?: Collection | URL | null;
4720
5073
  followers?: Collection | URL | null;
4721
5074
  liked?: Collection | URL | null;
5075
+ featured?: Collection | URL | null;
4722
5076
  streams?: (Collection | URL)[];
4723
5077
  endpoints?: Endpoints | null;
4724
5078
  discoverable?: boolean | null;
@@ -4905,6 +5259,22 @@ export declare class Group extends Object {
4905
5259
  contextLoader?: DocumentLoader;
4906
5260
  suppressError?: boolean;
4907
5261
  }): Promise<Collection | null>;
5262
+ /**
5263
+ * Similar to
5264
+ * {@link Group.getFeatured},
5265
+ * but returns its `@id` URL instead of the object itself.
5266
+ */
5267
+ get featuredId(): URL | null;
5268
+ /** What is known in Mastodon as "pinned statuses", or statuses that are always
5269
+ * featured at the top of people's profiles, is implemented using an extra
5270
+ * property `featured` on the actor object that points to a {@link Collection}
5271
+ * of objects.
5272
+ */
5273
+ getFeatured(options?: {
5274
+ documentLoader?: DocumentLoader;
5275
+ contextLoader?: DocumentLoader;
5276
+ suppressError?: boolean;
5277
+ }): Promise<Collection | null>;
4908
5278
  /**
4909
5279
  * Similar to
4910
5280
  * {@link Group.getStreams},
@@ -5380,6 +5750,14 @@ export declare class Like extends Activity {
5380
5750
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5381
5751
  object?: Object | URL | null;
5382
5752
  objects?: (Object | URL)[];
5753
+ target?: Object | URL | null;
5754
+ targets?: (Object | URL)[];
5755
+ result?: Object | URL | null;
5756
+ results?: (Object | URL)[];
5757
+ origin?: Object | URL | null;
5758
+ origins?: (Object | URL)[];
5759
+ instrument?: Object | URL | null;
5760
+ instruments?: (Object | URL)[];
5383
5761
  }, { documentLoader, contextLoader, }?: {
5384
5762
  documentLoader?: DocumentLoader;
5385
5763
  contextLoader?: DocumentLoader;
@@ -5440,6 +5818,14 @@ export declare class Like extends Activity {
5440
5818
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5441
5819
  object?: Object | URL | null;
5442
5820
  objects?: (Object | URL)[];
5821
+ target?: Object | URL | null;
5822
+ targets?: (Object | URL)[];
5823
+ result?: Object | URL | null;
5824
+ results?: (Object | URL)[];
5825
+ origin?: Object | URL | null;
5826
+ origins?: (Object | URL)[];
5827
+ instrument?: Object | URL | null;
5828
+ instruments?: (Object | URL)[];
5443
5829
  }, options?: {
5444
5830
  documentLoader?: DocumentLoader;
5445
5831
  contextLoader?: DocumentLoader;
@@ -5740,6 +6126,14 @@ export declare class Offer extends Activity {
5740
6126
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5741
6127
  object?: Object | URL | null;
5742
6128
  objects?: (Object | URL)[];
6129
+ target?: Object | URL | null;
6130
+ targets?: (Object | URL)[];
6131
+ result?: Object | URL | null;
6132
+ results?: (Object | URL)[];
6133
+ origin?: Object | URL | null;
6134
+ origins?: (Object | URL)[];
6135
+ instrument?: Object | URL | null;
6136
+ instruments?: (Object | URL)[];
5743
6137
  }, { documentLoader, contextLoader, }?: {
5744
6138
  documentLoader?: DocumentLoader;
5745
6139
  contextLoader?: DocumentLoader;
@@ -5800,6 +6194,14 @@ export declare class Offer extends Activity {
5800
6194
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5801
6195
  object?: Object | URL | null;
5802
6196
  objects?: (Object | URL)[];
6197
+ target?: Object | URL | null;
6198
+ targets?: (Object | URL)[];
6199
+ result?: Object | URL | null;
6200
+ results?: (Object | URL)[];
6201
+ origin?: Object | URL | null;
6202
+ origins?: (Object | URL)[];
6203
+ instrument?: Object | URL | null;
6204
+ instruments?: (Object | URL)[];
5803
6205
  }, options?: {
5804
6206
  documentLoader?: DocumentLoader;
5805
6207
  contextLoader?: DocumentLoader;
@@ -5885,10 +6287,10 @@ export declare class OrderedCollection extends Collection {
5885
6287
  proof?: DataIntegrityProof | URL | null;
5886
6288
  proofs?: (DataIntegrityProof | URL)[];
5887
6289
  totalItems?: number | null;
5888
- current?: CollectionPage | Link | URL | null;
5889
- first?: CollectionPage | Link | URL | null;
5890
- last?: CollectionPage | Link | URL | null;
5891
- items?: (Object | Link | URL)[];
6290
+ current?: CollectionPage | URL | null;
6291
+ first?: CollectionPage | URL | null;
6292
+ last?: CollectionPage | URL | null;
6293
+ items?: (Object | URL)[];
5892
6294
  }, { documentLoader, contextLoader, }?: {
5893
6295
  documentLoader?: DocumentLoader;
5894
6296
  contextLoader?: DocumentLoader;
@@ -5946,10 +6348,10 @@ export declare class OrderedCollection extends Collection {
5946
6348
  proof?: DataIntegrityProof | URL | null;
5947
6349
  proofs?: (DataIntegrityProof | URL)[];
5948
6350
  totalItems?: number | null;
5949
- current?: CollectionPage | Link | URL | null;
5950
- first?: CollectionPage | Link | URL | null;
5951
- last?: CollectionPage | Link | URL | null;
5952
- items?: (Object | Link | URL)[];
6351
+ current?: CollectionPage | URL | null;
6352
+ first?: CollectionPage | URL | null;
6353
+ last?: CollectionPage | URL | null;
6354
+ items?: (Object | URL)[];
5953
6355
  }, options?: {
5954
6356
  documentLoader?: DocumentLoader;
5955
6357
  contextLoader?: DocumentLoader;
@@ -6037,13 +6439,13 @@ export declare class OrderedCollectionPage extends CollectionPage {
6037
6439
  proof?: DataIntegrityProof | URL | null;
6038
6440
  proofs?: (DataIntegrityProof | URL)[];
6039
6441
  totalItems?: number | null;
6040
- current?: CollectionPage | Link | URL | null;
6041
- first?: CollectionPage | Link | URL | null;
6042
- last?: CollectionPage | Link | URL | null;
6043
- items?: (Object | Link | URL)[];
6044
- partOf?: Link | Collection | URL | null;
6045
- next?: CollectionPage | Link | URL | null;
6046
- prev?: CollectionPage | Link | URL | null;
6442
+ current?: CollectionPage | URL | null;
6443
+ first?: CollectionPage | URL | null;
6444
+ last?: CollectionPage | URL | null;
6445
+ items?: (Object | URL)[];
6446
+ partOf?: Collection | URL | null;
6447
+ next?: CollectionPage | URL | null;
6448
+ prev?: CollectionPage | URL | null;
6047
6449
  startIndex?: number | null;
6048
6450
  }, { documentLoader, contextLoader, }?: {
6049
6451
  documentLoader?: DocumentLoader;
@@ -6102,13 +6504,13 @@ export declare class OrderedCollectionPage extends CollectionPage {
6102
6504
  proof?: DataIntegrityProof | URL | null;
6103
6505
  proofs?: (DataIntegrityProof | URL)[];
6104
6506
  totalItems?: number | null;
6105
- current?: CollectionPage | Link | URL | null;
6106
- first?: CollectionPage | Link | URL | null;
6107
- last?: CollectionPage | Link | URL | null;
6108
- items?: (Object | Link | URL)[];
6109
- partOf?: Link | Collection | URL | null;
6110
- next?: CollectionPage | Link | URL | null;
6111
- prev?: CollectionPage | Link | URL | null;
6507
+ current?: CollectionPage | URL | null;
6508
+ first?: CollectionPage | URL | null;
6509
+ last?: CollectionPage | URL | null;
6510
+ items?: (Object | URL)[];
6511
+ partOf?: Collection | URL | null;
6512
+ next?: CollectionPage | URL | null;
6513
+ prev?: CollectionPage | URL | null;
6112
6514
  startIndex?: number | null;
6113
6515
  }, options?: {
6114
6516
  documentLoader?: DocumentLoader;
@@ -6210,6 +6612,7 @@ export declare class Organization extends Object {
6210
6612
  following?: Collection | URL | null;
6211
6613
  followers?: Collection | URL | null;
6212
6614
  liked?: Collection | URL | null;
6615
+ featured?: Collection | URL | null;
6213
6616
  streams?: (Collection | URL)[];
6214
6617
  endpoints?: Endpoints | null;
6215
6618
  discoverable?: boolean | null;
@@ -6284,6 +6687,7 @@ export declare class Organization extends Object {
6284
6687
  following?: Collection | URL | null;
6285
6688
  followers?: Collection | URL | null;
6286
6689
  liked?: Collection | URL | null;
6690
+ featured?: Collection | URL | null;
6287
6691
  streams?: (Collection | URL)[];
6288
6692
  endpoints?: Endpoints | null;
6289
6693
  discoverable?: boolean | null;
@@ -6470,6 +6874,22 @@ export declare class Organization extends Object {
6470
6874
  contextLoader?: DocumentLoader;
6471
6875
  suppressError?: boolean;
6472
6876
  }): Promise<Collection | null>;
6877
+ /**
6878
+ * Similar to
6879
+ * {@link Organization.getFeatured},
6880
+ * but returns its `@id` URL instead of the object itself.
6881
+ */
6882
+ get featuredId(): URL | null;
6883
+ /** What is known in Mastodon as "pinned statuses", or statuses that are always
6884
+ * featured at the top of people's profiles, is implemented using an extra
6885
+ * property `featured` on the actor object that points to a {@link Collection}
6886
+ * of objects.
6887
+ */
6888
+ getFeatured(options?: {
6889
+ documentLoader?: DocumentLoader;
6890
+ contextLoader?: DocumentLoader;
6891
+ suppressError?: boolean;
6892
+ }): Promise<Collection | null>;
6473
6893
  /**
6474
6894
  * Similar to
6475
6895
  * {@link Organization.getStreams},
@@ -6740,6 +7160,7 @@ export declare class Person extends Object {
6740
7160
  following?: Collection | URL | null;
6741
7161
  followers?: Collection | URL | null;
6742
7162
  liked?: Collection | URL | null;
7163
+ featured?: Collection | URL | null;
6743
7164
  streams?: (Collection | URL)[];
6744
7165
  endpoints?: Endpoints | null;
6745
7166
  discoverable?: boolean | null;
@@ -6814,6 +7235,7 @@ export declare class Person extends Object {
6814
7235
  following?: Collection | URL | null;
6815
7236
  followers?: Collection | URL | null;
6816
7237
  liked?: Collection | URL | null;
7238
+ featured?: Collection | URL | null;
6817
7239
  streams?: (Collection | URL)[];
6818
7240
  endpoints?: Endpoints | null;
6819
7241
  discoverable?: boolean | null;
@@ -7000,6 +7422,22 @@ export declare class Person extends Object {
7000
7422
  contextLoader?: DocumentLoader;
7001
7423
  suppressError?: boolean;
7002
7424
  }): Promise<Collection | null>;
7425
+ /**
7426
+ * Similar to
7427
+ * {@link Person.getFeatured},
7428
+ * but returns its `@id` URL instead of the object itself.
7429
+ */
7430
+ get featuredId(): URL | null;
7431
+ /** What is known in Mastodon as "pinned statuses", or statuses that are always
7432
+ * featured at the top of people's profiles, is implemented using an extra
7433
+ * property `featured` on the actor object that points to a {@link Collection}
7434
+ * of objects.
7435
+ */
7436
+ getFeatured(options?: {
7437
+ documentLoader?: DocumentLoader;
7438
+ contextLoader?: DocumentLoader;
7439
+ suppressError?: boolean;
7440
+ }): Promise<Collection | null>;
7003
7441
  /**
7004
7442
  * Similar to
7005
7443
  * {@link Person.getStreams},
@@ -7465,6 +7903,14 @@ export declare class Question extends IntransitiveActivity {
7465
7903
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7466
7904
  object?: Object | URL | null;
7467
7905
  objects?: (Object | URL)[];
7906
+ target?: Object | URL | null;
7907
+ targets?: (Object | URL)[];
7908
+ result?: Object | URL | null;
7909
+ results?: (Object | URL)[];
7910
+ origin?: Object | URL | null;
7911
+ origins?: (Object | URL)[];
7912
+ instrument?: Object | URL | null;
7913
+ instruments?: (Object | URL)[];
7468
7914
  exclusiveOptions?: (Object | URL)[];
7469
7915
  inclusiveOptions?: (Object | URL)[];
7470
7916
  }, { documentLoader, contextLoader, }?: {
@@ -7527,6 +7973,14 @@ export declare class Question extends IntransitiveActivity {
7527
7973
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7528
7974
  object?: Object | URL | null;
7529
7975
  objects?: (Object | URL)[];
7976
+ target?: Object | URL | null;
7977
+ targets?: (Object | URL)[];
7978
+ result?: Object | URL | null;
7979
+ results?: (Object | URL)[];
7980
+ origin?: Object | URL | null;
7981
+ origins?: (Object | URL)[];
7982
+ instrument?: Object | URL | null;
7983
+ instruments?: (Object | URL)[];
7530
7984
  exclusiveOptions?: (Object | URL)[];
7531
7985
  inclusiveOptions?: (Object | URL)[];
7532
7986
  }, options?: {
@@ -7647,6 +8101,14 @@ export declare class Reject extends Activity {
7647
8101
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7648
8102
  object?: Object | URL | null;
7649
8103
  objects?: (Object | URL)[];
8104
+ target?: Object | URL | null;
8105
+ targets?: (Object | URL)[];
8106
+ result?: Object | URL | null;
8107
+ results?: (Object | URL)[];
8108
+ origin?: Object | URL | null;
8109
+ origins?: (Object | URL)[];
8110
+ instrument?: Object | URL | null;
8111
+ instruments?: (Object | URL)[];
7650
8112
  }, { documentLoader, contextLoader, }?: {
7651
8113
  documentLoader?: DocumentLoader;
7652
8114
  contextLoader?: DocumentLoader;
@@ -7707,6 +8169,14 @@ export declare class Reject extends Activity {
7707
8169
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7708
8170
  object?: Object | URL | null;
7709
8171
  objects?: (Object | URL)[];
8172
+ target?: Object | URL | null;
8173
+ targets?: (Object | URL)[];
8174
+ result?: Object | URL | null;
8175
+ results?: (Object | URL)[];
8176
+ origin?: Object | URL | null;
8177
+ origins?: (Object | URL)[];
8178
+ instrument?: Object | URL | null;
8179
+ instruments?: (Object | URL)[];
7710
8180
  }, options?: {
7711
8181
  documentLoader?: DocumentLoader;
7712
8182
  contextLoader?: DocumentLoader;
@@ -8023,6 +8493,14 @@ export declare class Remove extends Activity {
8023
8493
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8024
8494
  object?: Object | URL | null;
8025
8495
  objects?: (Object | URL)[];
8496
+ target?: Object | URL | null;
8497
+ targets?: (Object | URL)[];
8498
+ result?: Object | URL | null;
8499
+ results?: (Object | URL)[];
8500
+ origin?: Object | URL | null;
8501
+ origins?: (Object | URL)[];
8502
+ instrument?: Object | URL | null;
8503
+ instruments?: (Object | URL)[];
8026
8504
  }, { documentLoader, contextLoader, }?: {
8027
8505
  documentLoader?: DocumentLoader;
8028
8506
  contextLoader?: DocumentLoader;
@@ -8083,6 +8561,14 @@ export declare class Remove extends Activity {
8083
8561
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8084
8562
  object?: Object | URL | null;
8085
8563
  objects?: (Object | URL)[];
8564
+ target?: Object | URL | null;
8565
+ targets?: (Object | URL)[];
8566
+ result?: Object | URL | null;
8567
+ results?: (Object | URL)[];
8568
+ origin?: Object | URL | null;
8569
+ origins?: (Object | URL)[];
8570
+ instrument?: Object | URL | null;
8571
+ instruments?: (Object | URL)[];
8086
8572
  }, options?: {
8087
8573
  documentLoader?: DocumentLoader;
8088
8574
  contextLoader?: DocumentLoader;
@@ -8179,6 +8665,7 @@ export declare class Service extends Object {
8179
8665
  following?: Collection | URL | null;
8180
8666
  followers?: Collection | URL | null;
8181
8667
  liked?: Collection | URL | null;
8668
+ featured?: Collection | URL | null;
8182
8669
  streams?: (Collection | URL)[];
8183
8670
  endpoints?: Endpoints | null;
8184
8671
  discoverable?: boolean | null;
@@ -8253,6 +8740,7 @@ export declare class Service extends Object {
8253
8740
  following?: Collection | URL | null;
8254
8741
  followers?: Collection | URL | null;
8255
8742
  liked?: Collection | URL | null;
8743
+ featured?: Collection | URL | null;
8256
8744
  streams?: (Collection | URL)[];
8257
8745
  endpoints?: Endpoints | null;
8258
8746
  discoverable?: boolean | null;
@@ -8439,6 +8927,22 @@ export declare class Service extends Object {
8439
8927
  contextLoader?: DocumentLoader;
8440
8928
  suppressError?: boolean;
8441
8929
  }): Promise<Collection | null>;
8930
+ /**
8931
+ * Similar to
8932
+ * {@link Service.getFeatured},
8933
+ * but returns its `@id` URL instead of the object itself.
8934
+ */
8935
+ get featuredId(): URL | null;
8936
+ /** What is known in Mastodon as "pinned statuses", or statuses that are always
8937
+ * featured at the top of people's profiles, is implemented using an extra
8938
+ * property `featured` on the actor object that points to a {@link Collection}
8939
+ * of objects.
8940
+ */
8941
+ getFeatured(options?: {
8942
+ documentLoader?: DocumentLoader;
8943
+ contextLoader?: DocumentLoader;
8944
+ suppressError?: boolean;
8945
+ }): Promise<Collection | null>;
8442
8946
  /**
8443
8947
  * Similar to
8444
8948
  * {@link Service.getStreams},
@@ -8711,6 +9215,14 @@ export declare class Undo extends Activity {
8711
9215
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8712
9216
  object?: Object | URL | null;
8713
9217
  objects?: (Object | URL)[];
9218
+ target?: Object | URL | null;
9219
+ targets?: (Object | URL)[];
9220
+ result?: Object | URL | null;
9221
+ results?: (Object | URL)[];
9222
+ origin?: Object | URL | null;
9223
+ origins?: (Object | URL)[];
9224
+ instrument?: Object | URL | null;
9225
+ instruments?: (Object | URL)[];
8714
9226
  }, { documentLoader, contextLoader, }?: {
8715
9227
  documentLoader?: DocumentLoader;
8716
9228
  contextLoader?: DocumentLoader;
@@ -8771,6 +9283,14 @@ export declare class Undo extends Activity {
8771
9283
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8772
9284
  object?: Object | URL | null;
8773
9285
  objects?: (Object | URL)[];
9286
+ target?: Object | URL | null;
9287
+ targets?: (Object | URL)[];
9288
+ result?: Object | URL | null;
9289
+ results?: (Object | URL)[];
9290
+ origin?: Object | URL | null;
9291
+ origins?: (Object | URL)[];
9292
+ instrument?: Object | URL | null;
9293
+ instruments?: (Object | URL)[];
8774
9294
  }, options?: {
8775
9295
  documentLoader?: DocumentLoader;
8776
9296
  contextLoader?: DocumentLoader;
@@ -8862,6 +9382,14 @@ export declare class Update extends Activity {
8862
9382
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8863
9383
  object?: Object | URL | null;
8864
9384
  objects?: (Object | URL)[];
9385
+ target?: Object | URL | null;
9386
+ targets?: (Object | URL)[];
9387
+ result?: Object | URL | null;
9388
+ results?: (Object | URL)[];
9389
+ origin?: Object | URL | null;
9390
+ origins?: (Object | URL)[];
9391
+ instrument?: Object | URL | null;
9392
+ instruments?: (Object | URL)[];
8865
9393
  }, { documentLoader, contextLoader, }?: {
8866
9394
  documentLoader?: DocumentLoader;
8867
9395
  contextLoader?: DocumentLoader;
@@ -8922,6 +9450,14 @@ export declare class Update extends Activity {
8922
9450
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8923
9451
  object?: Object | URL | null;
8924
9452
  objects?: (Object | URL)[];
9453
+ target?: Object | URL | null;
9454
+ targets?: (Object | URL)[];
9455
+ result?: Object | URL | null;
9456
+ results?: (Object | URL)[];
9457
+ origin?: Object | URL | null;
9458
+ origins?: (Object | URL)[];
9459
+ instrument?: Object | URL | null;
9460
+ instruments?: (Object | URL)[];
8925
9461
  }, options?: {
8926
9462
  documentLoader?: DocumentLoader;
8927
9463
  contextLoader?: DocumentLoader;